| 1 |
#!/usr/bin/make -f |
| 2 |
# -*- makefile -*- |
| 3 |
|
| 4 |
export PYBUILD_NAME=configobj |
| 5 |
|
| 6 |
%: |
| 7 |
dh $@ --buildsystem=pybuild |
| 8 |
|
| 9 |
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) |
| 10 |
execute_after_dh_auto_clean: |
| 11 |
make -C docs clean |
| 12 |
|
| 13 |
execute_after_dh_auto_build: |
| 14 |
make -C docs html |
| 15 |
endif |
| 16 |
|
| 17 |
override_dh_auto_test: |
| 18 |
dh_auto_test -- --test-pytest --test-args "$(CURDIR)/src/tests" |
| 19 |
|
| 20 |
override_dh_compress: |
| 21 |
dh_compress -X.js |
| 22 |
|
| 23 |
override_dh_installdocs: |
| 24 |
dh_installdocs -p python-configobj-doc --doc-main-package=python-configobj-doc |
| 25 |
dh_installdocs --remaining-packages |