diff options
author | Jelmer Vernooij <jelmer@debian.org> | 2011-03-31 11:48:38 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@debian.org> | 2011-03-31 11:48:38 +0200 |
commit | 8e5578bd16c1f373a6fdabca93c19f76c77cadf3 (patch) | |
tree | e5e61c2f84e2c7d965c7d211ea83d2cdd8fd97a7 /debian/rules | |
parent | 62569d0f645068b23e03d8c87626256c1939780e (diff) |
* Add missing Breaks: field to python-subvertpy.
* Switch to debhelper 7, drop cdbs.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/debian/rules b/debian/rules index 17d79b9f..f63a7d46 100755 --- a/debian/rules +++ b/debian/rules @@ -2,26 +2,19 @@ export HOME=$(CURDIR)/nonexistent -DEB_INSTALL_EXAMPLES_python-subvertpy = $(wildcard examples/*.py) +%: + dh --buildsystem=python_distutils $* -include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/python-distutils.mk - -build/python-subvertpy:: +override_dh_auto_build: + dh_auto_build $(MAKE) pydoctor -install/python-subvertpy:: - mkdir -p $(cdbs_python_destdir)/usr/share/doc/python-subvertpy - mv apidocs $(cdbs_python_destdir)/usr/share/doc/python-subvertpy/api - -DEB_PYTHON_BUILD_ARGS += --executable=/usr/bin/python +override_dh_auto_install: + dh_auto_install + mkdir -p debian/python-subvertpy/usr/share/doc/python-subvertpy + mv apidocs debian/python-subvertpy/usr/share/doc/python-subvertpy/api +override_dh_auto_test: ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) -build/python-subvertpy:: debian/stamp-check -debian/stamp-check: $(MAKE) check TESTRUNNER=testtools.run - touch $@ - -clean:: - rm -f debian/stamp-check endif |