[SCM] flac packaging branch, master, updated. debian/1.2.1-1.2-16-g7873c9a

fabian-guest at users.alioth.debian.org fabian-guest at users.alioth.debian.org
Mon Aug 3 14:57:47 UTC 2009


The following commit has been merged in the master branch:
commit 6469d1d54fc622219f72783ced9f832d30135702
Author: Fabian Greffrath <fabian at debian-unofficial.org>
Date:   Mon Aug 3 16:31:22 2009 +0200

    Update config.sub and config.guess in the configure rule and remove them in the clean target.

diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..3b93b74
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,2 @@
+config.guess
+config.sub
diff --git a/debian/control b/debian/control
index f8fbef3..489722c 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,8 @@ Section: sound
 Priority: optional
 Maintainer: Debian multimedia packages maintainers <pkg-multimedia-maintainers at lists.alioth.debian.org>
 Uploaders: Fabian Greffrath <fabian at debian-unofficial.org>
-Build-Depends: debhelper (>= 7),
+Build-Depends: autotools-dev,
+               debhelper (>= 7),
                doxygen,
                dpatch,
                libid3-3.8.3-dev,
diff --git a/debian/rules b/debian/rules
index 7462089..4bfb953 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,6 +24,13 @@ configure: patch configure-stamp
 configure-stamp: patch-stamp
 	dh_testdir
 
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess .
+endif
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub .
+endif
+
 	CFLAGS="$(CFLAGS)" CXXFLAGS="$(CFLAGS)" ./configure $(CONFIGURE_ARGS) \
 		--prefix=/usr --mandir=/usr/share/man --disable-rpath \
 		--disable-xmms-plugin \
@@ -46,13 +53,6 @@ clean: unpatch
 	dh_testroot
 	rm -f build-stamp configure-stamp
 
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	cp -f /usr/share/misc/config.guess .
-endif
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub .
-endif
-
 	# Add here commands to clean up after the build process.
 	[ ! -f Makefile ] || $(MAKE) distclean
 

-- 
flac packaging



More information about the pkg-multimedia-commits mailing list