diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-12-06 11:22:45 +0100 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-12-06 11:30:32 +0100 |
commit | fa388b959a98d8e60c9e591d50a3862cb77b0457 (patch) | |
tree | c567976d767c3dcab538a8bf94821d49c7920897 /Makefile | |
parent | d0d64817590d38d182faeb0e040861d3d3cb9f3b (diff) |
Add config.json.in example and cleanup windows package.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -155,7 +155,10 @@ package: clean tools/syncthing vendor build @mkdir -p $(PACKAGE_DIR)/$(TARGET)/www $(PACKAGE_DIR)/scripts @cp -a $(LOCAL_BINDIR)/* $(PACKAGE_DIR)/$(TARGET)/ @cp -a webapp/dist/* $(PACKAGE_DIR)/$(TARGET)/www/ - @cp -r $(ROOT_SRCDIR)/conf.d $(ROOT_SRCDIR)/scripts $(PACKAGE_DIR)/$(TARGET)/ +ifneq ($(GOOS), windows) + @cp -r $(ROOT_SRCDIR)/conf.d $(ROOT_SRCDIR)/scripts $(PACKAGE_DIR)/$(TARGET)/ +endif + @cp $(ROOT_SRCDIR)/conf.d/etc/xds-agent/config.json $(PACKAGE_DIR)/$(TARGET)/config.json.in @cd $(PACKAGE_DIR) && zip -r $(ROOT_SRCDIR)/$(PACKAGE_ZIPFILE) ./$(TARGET) @echo "### Package $(PACKAGE_ZIPFILE) has been successfuly built - $(BUILD_MODE)" |