summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-06-23 18:31:43 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-06-23 18:31:43 +0200
commit1bafa8259d70bdc4691c36c064e4fd756a5e72aa (patch)
tree7668143e3335972214b4aa485cb10dbfb32c81da
parent7c33696479008a264a4d426d8e47d9bfd44bff89 (diff)
Add missing vendor dependency
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ad017eb..b55a77a 100644
--- a/Makefile
+++ b/Makefile
@@ -77,7 +77,7 @@ build: tools/syncthing/copytobin
@echo "### Build XDS agent (version $(VERSION), subversion $(SUB_VERSION)) - $(BUILD_MODE)";
@cd $(ROOT_SRCDIR); $(BUILD_ENV_FLAGS) go build $(VERBOSE_$(V)) -i -o $(LOCAL_BINDIR)/xds-agent$(EXT) -ldflags "$(GORELEASE) -X main.AppVersion=$(VERSION) -X main.AppSubVersion=$(SUB_VERSION)" .
-package: clean tools/syncthing build
+package: clean tools/syncthing vendor build
@mkdir -p $(PACKAGE_DIR)/xds-agent
@cp agent-config.json.in $(PACKAGE_DIR)/xds-agent/agent-config.json
@cp -a $(LOCAL_BINDIR)/* $(PACKAGE_DIR)/xds-agent