From 3e8b7f9bf9fbeeb629046c85f3849b446b224d9e Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 11 Nov 2014 12:42:08 +0000 Subject: [PATCH] Reinstate specific rules to copy VERSION and NEWS into $(DEST). This was no longer being done as Jason found the generic rule was causing problems with GNU Make 4.0, and removed it. (I wonder how he was getting the build to succeed, then?) --- src/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Makefile b/src/Makefile index f2f10b9..166db58 100644 --- a/src/Makefile +++ b/src/Makefile @@ -79,6 +79,16 @@ $(DEST)/${PP2_FILE}: curl -sSf "${PP2_URL}" -o $@.tmp mv -f $@.tmp $@ +$(DEST)/NEWS: NEWS + rm -f $@ + cp $? $@ + chmod 444 $@ + +$(DEST)/VERSION: VERSION + rm -f $@ + cp $? $@ + chmod 444 $@ + release: $(RELEASABLE) @if [ -f ${DEST}/releases/mkws-$(VERSION).js ]; then \ echo "*** There is already a release $(VERSION)"; \ -- 1.7.10.4