debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | # -*- makefile -*- |
| 3 | |
| 4 | # Uncomment this to turn on verbose mode. |
| 5 | # export DH_VERBOSE=1 |
| 6 | |
| 7 | include /usr/share/dpkg/pkg-info.mk |
| 8 | export PYBUILD_NAME=$(DEB_SOURCE) |
| 9 | export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 10 | |
| 11 | %: |
| 12 | dh $@ --buildsystem=pybuild |
| 13 | |
| 14 | execute_before_dh_auto_build: |
| 15 | make cybuild |
| 16 | |
| 17 | execute_after_dh_auto_install: |
| 18 | # build the html pages for the -doc package |
| 19 | set -ex; \ |
| 20 | cd docs; \ |
| 21 | make html |