[SCM] xvidcore/master: Backup and restore build/generic/configure instead of removing it.

fabian-guest at users.alioth.debian.org fabian-guest at users.alioth.debian.org
Thu Feb 24 15:28:53 UTC 2011


The following commit has been merged in the master branch:
commit b72323c3f297cd965d99b3d7f03e2b9d297a2f7c
Author: Fabian Greffrath <fabian at greffrath.com>
Date:   Thu Feb 24 16:29:37 2011 +0100

    Backup and restore build/generic/configure instead of removing it.

diff --git a/debian/clean b/debian/clean
deleted file mode 100644
index 7ab953c..0000000
--- a/debian/clean
+++ /dev/null
@@ -1 +0,0 @@
-build/generic/configure
diff --git a/debian/rules b/debian/rules
index a5d109f..ccd385b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,9 +9,13 @@ CFLAGS = $(or $(DEB_CFLAGS),)
 		--with autotools_dev
 
 override_dh_auto_clean:
+	[ ! -f build/generic/configure.xvid ] || \
+	mv build/generic/configure.xvid build/generic/configure
 	touch build/generic/platform.inc
 	dh_auto_clean
 
 override_dh_auto_configure:
+	[ -f build/generic/configure.xvid ] || \
+	mv build/generic/configure build/generic/configure.xvid
 	cd build/generic && autoconf
 	dh_auto_configure

-- 
xvidcore packaging



More information about the pkg-multimedia-commits mailing list