[SCM] csound/master: Enforce rebuild when custom.cmake changes

fsateler at users.alioth.debian.org fsateler at users.alioth.debian.org
Mon Sep 2 04:39:28 UTC 2013


The following commit has been merged in the master branch:
commit 7e9b06d4ad6a6fb63e732bc93b0e0b23433cfc17
Author: Felipe Sateler <fsateler at debian.org>
Date:   Wed Aug 28 18:39:58 2013 -0400

    Enforce rebuild when custom.cmake changes

diff --git a/debian/rules b/debian/rules
index 7c7da23..4f205e5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -156,7 +156,7 @@ build-doxygen-stamp:
 	touch $@
 
 # Put aside upstream cruft before build but after licensecheck
-pre-build:: debian/stamp-upstreamtmpstuff
+pre-build:: debian/stamp-upstreamtmpstuff Custom.cmake
 debian/stamp-upstreamtmpstuff:
 	for file in $(upstreamtmpfiles); do \
 		[ ! -e $$file ] || [ -e $$file.upstream ] || mv -v $$file $$file.upstream; \
@@ -164,10 +164,12 @@ debian/stamp-upstreamtmpstuff:
 	for dir in $(upstreamtmpdirs); do \
 		[ ! -e $$dir ] || [ -e $$dir.upstream ] || mv -v $$dir $$dir.upstream; \
 	done
+	touch $@
+
+Custom.cmake: debian/Custom.cmake
 	sed -e 's, at PYLIBPATH@,$(PYLIBPATH2),' -e 's, at MTUNE@,$(MTUNE),' \
 		debian/Custom.cmake > \
 		Custom.cmake
-	touch $@
 
 # Revert upstream cruft that was put aside during build
 clean::

-- 
csound packaging



More information about the pkg-multimedia-commits mailing list