Code Review
/
src
/
xds
/
xds-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
0699037
)
Fiw webapp/install rule.
author
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Tue, 20 Jun 2017 18:48:33 +0000
(20:48 +0200)
committer
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Tue, 20 Jun 2017 18:48:33 +0000
(20:48 +0200)
test xxx && yyy doesn't work because "&&" characters seems interpreted by make.
Workaround is to write test statement with if syntax.
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
c13e1e5
..
29a33a8
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-119,7
+119,7
@@
webapp/debug:
webapp/install:
(cd webapp && npm install)
- @
test -d ${DESTDIR}/usr/local/etc && rm -rf ${DESTDIR}/usr
+ @
if [ -d ${DESTDIR}/usr/local/etc ]; then rm -rf ${DESTDIR}/usr; fi
.PHONY: scripts
scripts: