[SCM] ambdec/master: Pass --buildsystem and --sourcedirectory options to dh to reduce debian/rules length.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Mon Sep 13 08:40:37 UTC 2010


The following commit has been merged in the master branch:
commit a3689457386b3400cab207373fd91153a13bebb1
Author: Alessio Treglia <alessio at debian.org>
Date:   Mon Sep 13 10:40:33 2010 +0200

    Pass --buildsystem and --sourcedirectory options to dh to reduce debian/rules length.

diff --git a/debian/rules b/debian/rules
index d077cde..bea1eed 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,7 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@
-
-override_dh_auto_build:
-	cd source && $(MAKE)
-
-override_dh_auto_install:
-	cd source && $(MAKE) install DESTDIR=$(CURDIR)/debian/ambdec
+	dh $@ -Smakefile --sourcedirectory=source
 
 override_dh_installchangelogs:
 	dh_installchangelogs README

-- 
ambdec packaging



More information about the pkg-multimedia-commits mailing list