for a release, we depend on the real yui-compressor tool, MKWS-336
authorWolfram Schneider <wosch@indexdata.dk>
Thu, 13 Nov 2014 08:53:54 +0000 (09:53 +0100)
committerWolfram Schneider <wosch@indexdata.dk>
Thu, 13 Nov 2014 08:53:54 +0000 (09:53 +0100)
src/Makefile

index ab04fc7..6b53072 100644 (file)
@@ -90,6 +90,9 @@ $(DEST)/VERSION: VERSION
        chmod 444 $@
 
 release: $(INSTALLED_RELEASABLE)
+       @if ! which yui-compressor >/dev/null; then \
+               echo "*** please install the yui-compressor program"; exit 1; \
+       fi
        if [ -f ${DEST}/releases/mkws-$(VERSION).js ]; then \
                echo "*** There is already a release $(VERSION)"; \
        else \