[SCM] calf audio plugins packaging branch, master, updated. upstream/0.0.18.5-81-g8b7e1be

js at users.alioth.debian.org js at users.alioth.debian.org
Thu Feb 11 20:35:25 UTC 2010


The following commit has been merged in the master branch:
commit 8960215959acae3b757217a6d0f70744353b39fa
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Thu Feb 11 21:05:12 2010 +0100

    Put aside upstream-shipped temp files during build, to not upset git.

diff --git a/debian/rules b/debian/rules
index 7bc2e5c..7f13dbe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,6 +32,20 @@ include debian/cdbs/1/rules/buildinfo.mk
 
 DEB_UPSTREAM_URL = http://downloads.sourceforge.net/calf
 
+# put aside upstream-shipped temp files during build but after copyright-check
+upstreamtmpfiles = calf.desktop
+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
+
 # Needed by upstream build process
 #  * ALSA is optional upstream and only available on some archs
 #    (potentially varying, so we resolve list in maintainer builds)

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list