Comments
Patch
@@ -1,10 +1,11 @@
#!/usr/bin/make -f
+#export DH_VERBOSE=1
-clean %:
+%:
dh $@ --with python2 --buildsystem=python_distutils
-build:
- dh build --with python2 --buildsystem=python_distutils
+dh_override_auto_build:
+ dh_auto_build
$(MAKE) -C docs
ifeq (,$(filter nocheck, $(DEB_BUILD_OPTIONS)))
@@ -17,12 +18,11 @@
find debian -name __init__.py -delete
dh_python2
-clean: clean-docs
+override_dh_auto_clean: clean-docs
+ dh_auto_clean
rm -f tests/*.err
clean-docs:
rm -rf html
rm -f docs/static/logo-evolve.ico
rm -f docs/tutorials/tutorial.rst
-
-.PHONY: build clean clean-docs