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:
609a7ba
)
working makefile to create symlinks
author
Wolfram Schneider
<wosch@indexdata.dk>
Wed, 10 Jul 2013 15:34:58 +0000
(15:34 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Wed, 10 Jul 2013 15:34:58 +0000
(15:34 +0000)
experiments/spclient/Makefile
patch
|
blob
|
history
diff --git
a/experiments/spclient/Makefile
b/experiments/spclient/Makefile
index
38d83f4
..
bca6f9e
100644
(file)
--- a/
experiments/spclient/Makefile
+++ b/
experiments/spclient/Makefile
@@
-2,22
+2,20
@@
# Copyright (c) 2013 IndexData ApS. http://indexdata.com
#
# 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}
+ALL= mkws.js mkwsStyle.css
+all: $(ALL)
distclean: clean
clean:
distclean: clean
clean:
- rm -f ${MKWS_JS}
+ rm -f ${ALL} libjs-pz2
+
+$(ALL): libjs-pz2
+ ln -sf ../../tools/htdocs/$@ .
+
+libjs-pz2:
+ ln -fs ../../../$@ .
help:
help:
- @echo "make [ help | mkws-js | clean ]"
+ @echo "make [ help | links | clean ]"
@echo ""
@echo ""
- @echo "Please check ./README file too!"