[SCM] juce/master: rules to (un)apply some patches manually
umlaeute at users.alioth.debian.org
umlaeute at users.alioth.debian.org
Thu Feb 11 13:06:47 UTC 2016
The following commit has been merged in the master branch:
commit b8f7b9265a7c76eb1c05e8a1dba5f649e0e6d910
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date: Thu Feb 11 12:48:07 2016 +0100
rules to (un)apply some patches manually
diff --git a/debian/rules b/debian/rules
index e1642d3..7329420 100755
--- a/debian/rules
+++ b/debian/rules
@@ -45,3 +45,13 @@ clean::
rm -rf extras/Introjucer/Builds/Linux/build
rm -rf $(BUILDDATE_HEADER)
+
+.PHONY: patch unpatch
+PATCHARGS=-f -p1 -r - --no-backup-if-mismatch
+PATCHPATTERN=^\#MANUAL\#
+patch::
+ cat $(CURDIR)/debian/patches/series | sed -e '/$(PATCHPATTERN)/!d' -e 's|$(PATCHPATTERN)||' \
+ | while read p; do patch $(PATCHARGS) -i $(CURDIR)/debian/patches/$$p; done
+unpatch::
+ cat $(CURDIR)/debian/patches/series | sed -e '/$(PATCHPATTERN)/!d' -e 's|$(PATCHPATTERN)||' \
+ | while read p; do patch $(PATCHARGS) -i $(CURDIR)/debian/patches/$$p -R; done
--
juce packaging
More information about the pkg-multimedia-commits
mailing list