[Forensics-changes] [SCM] debian-forensics/reglookup branch, debian, updated. debian/0.12.0-1-25-g6da27da

Elías Alejandro ealmdz at gmail.com
Mon Oct 17 06:14:24 UTC 2011


The following commit has been merged in the debian branch:
commit eb08f6eb6207066e45723dde2b726fb8a27d1142
Author: Elías Alejandro <ealmdz at gmail.com>
Date:   Mon Oct 17 00:46:34 2011 -0500

    debian/rules adding dh_python2 support

diff --git a/debian/rules b/debian/rules
index 827e888..ebd8f5a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,10 +1,22 @@
 #!/usr/bin/make -f
 
 %:
-	dh ${@}
+	dh $@ --with python2
 
 override_dh_auto_build:
 	scons
 
 override_dh_auto_install:
-	PREFIX=$(CURDIR)/debian/reglookup scons install
+	PREFIX=$(CURDIR)/debian/reglookup/usr scons install
+
+override_dh_install:
+	python pyregfi-distutils.py install --root=debian/reglookup --install-layout=deb
+
+override_dh_clean:
+	dh_testdir
+	dh_testroot
+	scons -c -C SConstruct
+	find -name "*.pyc" -delete
+	rm -f build-stamp configure-stamp
+	rm -rf config.log .sconf_temp/ build/
+	dh_clean

-- 
debian-forensics/reglookup



More information about the forensics-changes mailing list