[SCM] midisport-firmware packaging branch, master, updated. debian/1.2-1-20-g1197bd3

adiknoth-guest at users.alioth.debian.org adiknoth-guest at users.alioth.debian.org
Fri Jul 16 18:50:21 UTC 2010


The following commit has been merged in the master branch:
commit 1197bd342499b5dd1964e7880333e6a5efbeae73
Author: Adrian Knoth <adi at drcomp.erfurt.thur.de>
Date:   Fri Jul 16 20:48:18 2010 +0200

    Preserve upstream autotools files.

diff --git a/debian/rules b/debian/rules
index 8f297be..3ea6378 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,3 +9,16 @@ DEB_CONFIGURE_EXTRA_FLAGS := --with-udev=/lib/udev/
 
 post-patches::
 	autoreconf -fi
+
+upstreamtmpfiles = configure missing install-sh aclocal.m4 Makefile.in
+pre-build:: debian/stamp-upstreamtmpstuff
+debian/stamp-upstreamtmpstuff: debian/stamp-copyright-check
+	for file in $(upstreamtmpfiles); do \
+		[ ! -e $$file ] || [ -e $$file.upstream ] || mv $$file $$file.upstream; \
+	done
+	touch $@
+clean::
+	for file in $(upstreamtmpfiles); do \
+		[ ! -e $$file.upstream ] || mv -f $$file.upstream $$file; \
+	done
+	rm -f debian/stamp-upstreamtmpstuff

-- 
midisport-firmware packaging



More information about the pkg-multimedia-commits mailing list