aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-05-19 16:52:37 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-05-19 16:52:37 +0200
commitf40562dc1f94d7748c7ab3ed3d1ef089e7c937bc (patch)
treea1d685211224c7da13d81da02d43b16f27e71c92 /Makefile
parentc53aef75b26a586bffa8ade44f8fb157d36566b7 (diff)
Fix Makefile install commands
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3bcf34e..96bada4 100644
--- a/Makefile
+++ b/Makefile
@@ -95,7 +95,7 @@ install:
@test -e $(LOCAL_BINDIR)/xds-start-server.sh -a -d $(LOCAL_BINDIR)/agl || { echo "Please execute first: make all\n"; exit 1; }
@test -e $(LOCAL_BINDIR)/syncthing -a -e $(LOCAL_BINDIR)/syncthing-inotify || { echo "Please execute first: make all\n"; exit 1; }
mkdir -p $(INSTALL_DIR) \
- && cp -a $(LOCAL_BINDIR)/* $(INSTALL_DIR) \
+ && cp -a $(LOCAL_BINDIR)/* $(INSTALL_DIR)
mkdir -p $(INSTALL_WEBAPP_DIR) \
&& cp -a webapp/dist/* $(INSTALL_WEBAPP_DIR)
@@ -110,6 +110,7 @@ tools/glide:
.PHONY: tools/syncthing
tools/syncthing:
@test -e $(LOCAL_TOOLSDIR)/syncthing -a -e $(LOCAL_TOOLSDIR)/syncthing-inotify || { \
+ mkdir -p $(LOCAL_TOOLSDIR); \
DESTDIR=$(LOCAL_TOOLSDIR) \
SYNCTHING_VERSION=$(SYNCTHING_VERSION) \
SYNCTHING_INOTIFY_VERSION=$(SYNCTHING_INOTIFY_VERSION) \