debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | %: |
| 4 | dh $@ --with=python3,sphinxdoc,bash-completion --buildsystem=pybuild |
| 5 | |
| 6 | override_dh_fixperms: |
| 7 | dh_fixperms |
| 8 | chmod 440 debian/mini-buildd/etc/sudoers.d/mini-buildd-sudoers |
| 9 | |
| 10 | override_dh_auto_build: |
| 11 | dh_auto_build |
| 12 | ifeq ($(filter nodoc,$(DEB_BUILD_OPTIONS)),) |
| 13 | sphinx-build -N -bhtml ./manual/ ./build/sphinx/html/ |
| 14 | endif |
| 15 | |
| 16 | override_dh_auto_test: |
| 17 | dh_auto_test |
| 18 | ./pydoctests |