From 400fc71e7887799b3b55d7d429303275311b3dee Mon Sep 17 00:00:00 2001 From: Christoph Goehre Date: Sun, 30 Sep 2007 18:34:17 +0200 Subject: Minor changes for package building * I'm the new Maintainer (Closes: #414621) * build package with cdbs * add XS-Vcs tags to git archive * move python-dev and python-support to B-Depends (instead of B-D-I) to clam lintian --- debian/rules | 45 ++++++++------------------------------------- 1 file changed, 8 insertions(+), 37 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 71a1e53..3d6bcd4 100755 --- a/debian/rules +++ b/debian/rules @@ -3,44 +3,15 @@ # Sample debian/rules that uses debhelper. # This file is public domain software, originally written by Joey Hess. -build: +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 -lib/version.py: debian/changelog - echo "pkg_version = \"`dpkg-parsechangelog | awk '/^Version:/ { print $$2 }'`\"" > lib/version.py +DEB_PYTHON_SYSTEM=pysupport -clean: lib/version.py - dh_testdir - dh_testroot - rm -f build-stamp - dh_clean +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - $(MAKE) install DESTDIR=debian/mini-dinstall +update-version: + echo "pkg_version = \"$(DEB_UPSTREAM_VERSION)\"" > minidinstall/version.py -# Build architecture-independent files here. -binary-indep: build install - dh_testdir - dh_testroot - dh_installchangelogs - dh_installdocs - dh_installexamples - dh_link - dh_compress - dh_fixperms - dh_pysupport - dh_python - dh_installdeb - dh_gencontrol - dh_md5sums - dh_builddeb - -# Build architecture-dependent files here. -binary-arch: build install -# We have nothing to do by default. - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install +.PHONY: update-version -- cgit v1.2.3