debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | include /usr/share/dpkg/pkg-info.mk |
| 4 | export PYBUILD_TEST_ARGS="--import-mode=importlib" |
| 5 | |
| 6 | %: |
| 7 | dh $@ --buildsystem=pybuild |
| 8 | |
| 9 | execute_after_dh_auto_build: |
| 10 | ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) |
| 11 | a2x -L --doctype manpage --format manpage $(CURDIR)/debian/gyp.txt > $(CURDIR)/debian/gyp.1 |
| 12 | endif |
| 13 | |
| 14 | override_dh_auto_clean: |
| 15 | -dh_auto_clean |
| 16 | rm -rf build pylib/gyp.egg-info |
| 17 | rm -f debian/gyp.1 |