summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-05-18 12:15:01 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-05-18 12:15:01 +0200
commit199bec04165a8bd8d52034963725a2c6161814af (patch)
tree705c0363dd89099b94d69094b5a57033351fdbc3 /Makefile
parent0b670a1f12da44bad926d60f25149e2bd771a4bc (diff)
Fix copy of agl directory in make install
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8212824..4bb7207 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: scripts\n"; exit 1; }
@test -e $(LOCAL_TOOLSDIR)/syncthing -a -e $(LOCAL_TOOLSDIR)/syncthing-inotify || { echo "Please execute first: make tools/syncthing\n"; exit 1; }
mkdir -p $(INSTALL_DIR) \
- && cp $(LOCAL_BINDIR)/* $(INSTALL_DIR) \
+ && cp -a $(LOCAL_BINDIR)/* $(INSTALL_DIR) \
&& cp $(LOCAL_TOOLSDIR)/syncthing* $(INSTALL_DIR)
mkdir -p $(INSTALL_WEBAPP_DIR) \
&& cp -a webapp/dist/* $(INSTALL_WEBAPP_DIR)