[SCM] aeolus/master: Introduce -S, -D options to shorten debian/rules file.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Wed Apr 13 15:13:38 UTC 2011


The following commit has been merged in the master branch:
commit ed28a859eb6f0c798319d2abd2dcae212e6796a2
Author: Alessio Treglia <alessio at debian.org>
Date:   Wed Apr 13 17:13:15 2011 +0200

    Introduce -S,-D options to shorten debian/rules file.

diff --git a/debian/rules b/debian/rules
index 4ddcf07..76abbe5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,12 @@
 #!/usr/bin/make -f
 
+export DESTDIR=$(CURDIR)/debian/aeolus
+
 %:
-	dh $@
+	dh $@ -Smakefile -Dsource
 
-override_dh_auto_configure:
-override_dh_auto_clean:
-	cd source && $(MAKE) clean
-override_dh_auto_build:
-	cd source && $(MAKE)
 override_dh_auto_install:
-	cd source && $(MAKE) install DESTDIR=$(CURDIR)/debian/aeolus/
+	dh_auto_install
 	mkdir -p $(CURDIR)/debian/aeolus/etc
 	mkdir -p $(CURDIR)/debian/aeolus/usr/share/applications
 	cp debian/aeolus.conf $(CURDIR)/debian/aeolus/etc

-- 
aeolus packaging



More information about the pkg-multimedia-commits mailing list