aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-12-12 14:04:27 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-12-12 14:04:27 +0100
commit6f71a805b2f6f961761b5906a21d2a234b84aa4c (patch)
tree8093c94b994aa25ac9e8e58e75d2051d5d2f733e /Makefile
parent63e37a1f02638525e6261a1aaecb51df3504639c (diff)
Removed useless file from Windows packagev0.1.2
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 819e4b4..991118d 100644
--- a/Makefile
+++ b/Makefile
@@ -127,7 +127,9 @@ release:
package: clean vendor build
@mkdir -p $(PACKAGE_DIR)/$(TARGET)
@cp -a $(LOCAL_BINDIR)/*cli$(EXT) $(PACKAGE_DIR)/$(TARGET)
+ifneq ($(GOOS), windows)
@cp -r $(ROOT_SRCDIR)/conf.d $(ROOT_SRCDIR)/scripts $(PACKAGE_DIR)/$(TARGET)
+endif
cd $(PACKAGE_DIR) && zip -r $(ROOT_SRCDIR)/$(PACKAGE_ZIPFILE) ./$(TARGET)
.PHONY: package-all