aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules13
2 files changed, 7 insertions, 8 deletions
diff --git a/debian/control b/debian/control
index 0ef61a8..2a198a9 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Priority: optional
Section: devel
Maintainer: Christoph Goehre <christoph.goehre@gmx.de>
Uploaders: Guido Guenther <agx@sigxcpu.org>
-Build-Depends: cdbs (>= 0.4.90~), debhelper (>= 7), python (>= 2.6.6-3~), dh-python
+Build-Depends: debhelper (>= 7), python (>= 2.6.6-3~), dh-python
Standards-Version: 3.9.5
Vcs-Git: git://anonscm.debian.org/mini-dinstall/mini-dinstall.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=mini-dinstall/mini-dinstall.git;a=summary
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