Reinstate specific rules to copy VERSION and NEWS into $(DEST).
[mkws-moved-to-github.git] / src / Makefile
index f2f10b9..166db58 100644 (file)
@@ -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)"; \