[SCM] mjpegtools/master: rebuild autotool files at build-time

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Sep 2 09:48:14 UTC 2012


The following commit has been merged in the master branch:
commit 35872e8a9c43c5c0b4a00e02d26ec2b9770b8284
Author: Reinhard Tartler <siretart at tauware.de>
Date:   Sun Sep 2 10:40:01 2012 +0200

    rebuild autotool files at build-time
    
    implemeted using dh-autoreconf

diff --git a/debian/control b/debian/control
index 18e3d26..f6cf219 100644
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,7 @@ Uploaders:
 Build-Depends:
  autotools-dev,
  debhelper (>= 7.0.50~),
+ dh-autoreconf,
  libdv4-dev,
  libgtk2.0-dev,
  libjpeg-dev,
diff --git a/debian/rules b/debian/rules
index f3687fd..9798176 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,7 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ --parallel --with autotools_dev
-
-clean:
-	# This is needed because we patch a fatal error out of configure
-	dpkg-source --before-build .
-	dh clean --with autotools_dev
-	dpkg-source --after-build .
+	dh $@ --parallel --with autoreconf,autotools_dev
 
 override_dh_auto_configure:
 	dpkg-source --before-build .

-- 
mjpegtools packaging



More information about the pkg-multimedia-commits mailing list