summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-12-12 11:55:40 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-12-12 11:55:40 +0100
commit029a61282512b633d8210de9101510a8284d4923 (patch)
tree5e86ba69ef44799473b7e2e23455c0fd0caa966f /Makefile
parent273743466fa39a14bf7abf73f30427406684f3d3 (diff)
Fixed Windows support.v0.2.2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0088519..118a80b 100644
--- a/Makefile
+++ b/Makefile
@@ -125,7 +125,9 @@ release:
package: clean vendor build
@mkdir -p $(PACKAGE_DIR)/$(TARGET)
@cp -a $(LOCAL_BINDIR)/*gdb$(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