[SCM] audacity/master: Use dh-autoreconf to clean up generated auto* files

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Sat Sep 14 13:45:54 UTC 2013


The following commit has been merged in the master branch:
commit 0a0c3bc7e0552ee299e382f1809fa613830aaf43
Author: Sebastian Ramacher <sramacher at debian.org>
Date:   Sat Sep 14 14:45:48 2013 +0200

    Use dh-autoreconf to clean up generated auto* files
    
    Also run both clean and distclean in the clean target.

diff --git a/debian/clean b/debian/clean
deleted file mode 100644
index cc92a49..0000000
--- a/debian/clean
+++ /dev/null
@@ -1 +0,0 @@
-./configure
diff --git a/debian/control b/debian/control
index aea362b..14d2b7a 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,7 @@ Standards-Version: 3.9.4
 Build-Depends: autoconf,
                automake,
                debhelper (>= 7.0.50~),
+               dh-autoreconf,
                gettext,
                libasound2-dev [linux-any],
                libavcodec-dev (>= 4:0.6),
diff --git a/debian/rules b/debian/rules
index f65013d..b22ab30 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,10 +26,14 @@ configure_flags := \
 	$(NULL)
 
 %:
-	dh $@ --parallel
+	dh $@ --parallel --with autoreconf
+
+override_dh_auto_clean:
+	# We want to run both clean and distclean
+	$(MAKE) clean
+	$(MAKE) distclean
 
 override_dh_auto_configure:
-	./autogen.sh
 	dh_auto_configure -- $(configure_flags)
 
 override_dh_auto_install:

-- 
Audacity debian packaging



More information about the pkg-multimedia-commits mailing list