+PZ2API_JS= ../../../libjs-pz2/pz2api.1.js
+PZ2API_GIT= ssh://git.indexdata.com:222/home/git/pub/libjs-pz2
+
+DOCS = README.html README.odt README.pdf \
+ whitepaper.html whitepaper.odt whitepaper.pdf
+
+**default**: ${MKWS_JS} README.html whitepaper.html
+
+all: ${MKWS_JS} $(DOCS)
+
+docs: $(DOCS)
+
+pz2api-check:
+ @if ! test -e ${PZ2API_JS}; then \
+ echo "The pazpar2 JS file ${PZ2API_JS} does not exists."; \
+ echo "Did you checked out the source from the git repo?"; \
+ echo "Please run: make pz2api-git-checkout"; \
+ exit 1; \
+ fi