Removed useless file from Windows package v0.1.2
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Tue, 12 Dec 2017 13:04:27 +0000 (14:04 +0100)
committerSebastien Douheret <sebastien.douheret@iot.bzh>
Tue, 12 Dec 2017 13:04:27 +0000 (14:04 +0100)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Makefile

index 819e4b4..991118d 100644 (file)
--- 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