Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/mkws
[mkws-moved-to-github.git] / src / Makefile
index 8d8b4c1..bed0fb1 100644 (file)
@@ -89,6 +89,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 \