+pz2api-git-checkout:
+ @if ! test -e ${PZ2API_JS}; then \
+ ( cd ../../.. && git clone ${PZ2API_GIT} ); \
+ fi
+
+mkws-js ${MKWS_JS}: mkws.js ${JQUERY_JSON_FILE} ${JQUERY_FILE} ${HANDLEBARS_FILE}
+ @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 ""; \
+ echo "Please run:"; \
+ echo "$$ make pz2api-git-checkout"; \
+ echo ""; \
+ exit 1; \
+ fi