From dbf811a6f6eed43896907d9b8581fcc233f5509e Mon Sep 17 00:00:00 2001 From: Christoph Goehre Date: Mon, 25 Aug 2014 18:12:18 -0700 Subject: switch from cdbs to dh --- debian/rules | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index e19cc6c..a48d252 100755 --- a/debian/rules +++ b/debian/rules @@ -6,12 +6,11 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/python-distutils.mk +include /usr/share/dpkg/default.mk -minidinstall/version.py: debian/changelog - echo "pkg_version = \"$(DEB_UPSTREAM_VERSION)\"" > minidinstall/version.py +%: + dh $@ --with python2 -clean:: minidinstall/version.py - -.PHONY: minidinstall/version.py +override_dh_auto_clean: + echo "pkg_version = \"$(DEB_VERSION_UPSTREAM)\"" > minidinstall/version.py + dh_auto_clean -- cgit v1.2.3