From: Mike Taylor Date: Tue, 11 Nov 2014 12:47:02 +0000 (+0000) Subject: The "release" rule depends on INSTALLED_RELEASABLE, not RELEASABLE. X-Git-Tag: 1.0.0~3 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=b99a8c62ed342809871bdad8ec8890809ee0b726;p=mkws-moved-to-github.git The "release" rule depends on INSTALLED_RELEASABLE, not RELEASABLE. Reinstate lost trailing backslash. --- diff --git a/src/Makefile b/src/Makefile index 444aaa3..ab04fc7 100644 --- a/src/Makefile +++ b/src/Makefile @@ -89,14 +89,14 @@ $(DEST)/VERSION: VERSION cp $? $@ chmod 444 $@ -release: $(RELEASABLE) - @if [ -f ${DEST}/releases/mkws-$(VERSION).js ]; then \ +release: $(INSTALLED_RELEASABLE) + if [ -f ${DEST}/releases/mkws-$(VERSION).js ]; then \ echo "*** There is already a release $(VERSION)"; \ else \ cp -p $(DEST)/mkws.js ${DEST}/releases/mkws-$(VERSION).js; \ cp -p $(DEST)/mkws.min.js ${DEST}/releases/mkws-$(VERSION).min.js; \ cp -p $(DEST)/mkws-complete.js ${DEST}/releases/mkws-complete-$(VERSION).js; \ - cp -p $(DEST)/mkws-complete.min.js ${DEST}/releases/mkws-complete-$(VERSION).min.js; + cp -p $(DEST)/mkws-complete.min.js ${DEST}/releases/mkws-complete-$(VERSION).min.js; \ cp -p $(DEST)/mkws.css ${DEST}/releases/mkws-$(VERSION).css; \ echo "Made release $(VERSION)"; \ fi