summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-06-20 22:48:01 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-06-20 22:48:01 +0200
commit6aa0d4b8cdda11c7ee218f0f3cc1013dd18ab056 (patch)
treeb24ba1943f63e48527879489b3cb793be3a4efd1 /Makefile
parent8f41ac456fc92a9ec333579498e9933d73404905 (diff)
Only call vendor when building all.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 29a33a8..916b133 100644
--- a/Makefile
+++ b/Makefile
@@ -82,9 +82,9 @@ endif
all: tools/syncthing build
.PHONY: build
-build: xds webapp
+build: vendor xds webapp
-xds:vendor scripts tools/syncthing/copytobin
+xds: scripts tools/syncthing/copytobin
@echo "### Build XDS server (version $(VERSION), subversion $(SUB_VERSION))";
@cd $(ROOT_SRCDIR); $(BUILD_ENV_FLAGS) go build $(VERBOSE_$(V)) -i -o $(LOCAL_BINDIR)/xds-server$(EXT) -ldflags "$(GORELEASE) -X main.AppVersion=$(VERSION) -X main.AppSubVersion=$(SUB_VERSION)" .