cp ../../tools/htdocs/Makefile .
authorWolfram Schneider <wosch@indexdata.dk>
Wed, 10 Jul 2013 15:30:50 +0000 (15:30 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Wed, 10 Jul 2013 15:30:50 +0000 (15:30 +0000)
experiments/spclient/Makefile [new file with mode: 0644]

diff --git a/experiments/spclient/Makefile b/experiments/spclient/Makefile
new file mode 100644 (file)
index 0000000..38d83f4
--- /dev/null
@@ -0,0 +1,23 @@
+######################################################################
+# Copyright (c) 2013 IndexData ApS. http://indexdata.com
+#
+
+MKWS_JS=       mkws-complete.js
+all: ${MKWS_JS}
+
+mkws-js ${MKWS_JS}: ../../../libjs-pz2/pz2api.1.js mkws.js
+       ( echo "/* created at: $$(date)"; \
+         echo "   mkws.js GIT id: $$(git log mkws.js | head -n 1 | perl -npe 's,\S+\s+,,') */"; \
+         curl -sSf http://code.jquery.com/jquery-1.10.0.min.js; \
+         cat ../../../libjs-pz2/pz2api.1.js mkws.js ) > ${MKWS_JS}.new 
+       mv -f ${MKWS_JS}.new ${MKWS_JS}
+
+distclean: clean
+clean:
+       rm -f ${MKWS_JS}
+
+help:
+       @echo "make [ help | mkws-js | clean ]"
+       @echo ""
+       @echo "Please check ./README file too!"
+