debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export PYBUILD_NAME=diskcache |
| 4 | export PYBUILD_BEFORE_TEST=cp -a docs {build_dir} |
| 5 | |
| 6 | %: |
| 7 | dh $@ --with python3 --buildsystem=pybuild |
| 8 | |
| 9 | override_dh_python3: |
| 10 | dh_python3 |
| 11 | find debian -name .coverage -delete |
| 12 | rm -rf debian/python3-$(PYBUILD_NAME)/usr/lib/python3/dist-packages/docs |
| 13 | |
| 14 | override_dh_auto_clean: |
| 15 | dh_auto_clean |
| 16 | rm -rf dist .cache |