debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | %: |
| 4 | dh $@ --buildsystem=pybuild |
| 5 | |
| 6 | execute_after_dh_auto_build: |
| 7 | ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS))) |
| 8 | ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES))) |
| 9 | sphinx-apidoc -f -e -o docs/api msal |
| 10 | $(MAKE) -C docs man |
| 11 | endif |
| 12 | endif |
| 13 | |
| 14 | # tests will attempt network connections, skip them |
| 15 | override_dh_auto_test: |