projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5957bb3
)
add clean target, build ${MKWS_JS} on demand
author
Wolfram Schneider
<wosch@indexdata.dk>
Mon, 24 Jun 2013 14:36:43 +0000
(14:36 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Mon, 24 Jun 2013 14:36:43 +0000
(14:36 +0000)
experiments/spclient/Makefile
patch
|
blob
|
history
diff --git
a/experiments/spclient/Makefile
b/experiments/spclient/Makefile
index
f8eb197
..
8cbaf49
100644
(file)
--- a/
experiments/spclient/Makefile
+++ b/
experiments/spclient/Makefile
@@
-2,17
+2,20
@@
# Copyright (c) 2013 IndexData ApS. http://indexdata.com
#
# Copyright (c) 2013 IndexData ApS. http://indexdata.com
#
-all: mkws-js
-
MKWS_JS= mkws.2.js
MKWS_JS= mkws.2.js
+all: ${MKWS_JS}
-mkws-js: mkws.js
+mkws-js ${MKWS_JS}: mkws.js
( 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}
( 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:
help:
- @echo "make [ help | mkws-js ]"
+ @echo "make [ help | mkws-js | clean ]"
@echo ""
@echo "Please check ./README file too!"
@echo ""
@echo "Please check ./README file too!"