@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)