[SCM] GUI front-end for Debian Live. branch, master, updated. 08faf0d678877236b2a81da93a8c822d69ad49d1

Chris Lamb chris at chris-lamb.co.uk
Fri Apr 4 17:23:22 UTC 2008


The following commit has been merged in the master branch:
commit aa526357d19782d221db26113d55b9ba044875e7
Author: Chris Lamb <chris at chris-lamb.co.uk>
Date:   Fri Apr 4 18:16:59 2008 +0100

    debian/{control,rules}: Don't build using CDBS - it's horrible
    
    Signed-off-by: Chris Lamb <chris at chris-lamb.co.uk>

diff --git a/debian/control b/debian/control
index 09456b8..39751ce 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: misc
 Priority: optional
 Maintainer: Debian Live <debian-live-maint at lists.alioth.debian.org>
 Uploaders: Chris Lamb <chris at chris-lamb.co.uk>, Daniel Baumann <daniel at debian.org>
-Build-Depends: debhelper (>= 5), cdbs, python-dev, python-support, live-helper (>= 1.0~a42)
+Build-Depends: debhelper (>= 5), python-dev, python-support, live-helper (>= 1.0~a42)
 Standards-Version: 3.7.3
 Homepage: http://debian-live.alioth.debian.org/
 Vcs-Git: git://git.debian.org/git/users/lamby-guest/live-magic.git
diff --git a/debian/rules b/debian/rules
index a065b56..9cbade8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,10 +1,44 @@
 #!/usr/bin/make -f
 
-DEB_PYTHON_SYSTEM=pysupport
-
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
-
 upstream:
 	cd .. && git clone git://git.debian.org/git/users/lamby-guest/live-magic.git || true
 	rm -rf ../live-magic/.git
+
+build: build-stamp
+build-stamp:
+	python tests/test_all.py
+	python setup.py build
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+	dh_clean
+	find -type f -name "*.pyc" -print0 | xargs -0 rm -f
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean
+	dh_install
+	python setup.py install --root=$(CURDIR)/debian/live-magic
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_pysupport
+	dh_installchangelogs
+	dh_installdocs
+	dh_installman
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary-arch: build install
+
+binary: binary-arch binary-indep
+.PHONY: build clean binary-indep binary-arch binary install upstream

-- 
GUI front-end for Debian Live.



More information about the debian-live-changes mailing list