aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-05-15 11:00:42 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-05-15 11:00:42 +0200
commit659d261e05f1b623dcc18e494e4e73a019c75188 (patch)
treea580bc0b5f5583666534d767c3a94361a966477e /Makefile
parent2028752efc680c4c409f6f36bcf88104493d42c4 (diff)
Cleanup
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 6f9f990..210b44b 100644
--- a/Makefile
+++ b/Makefile
@@ -38,11 +38,10 @@ VERBOSE_2 := -v -x
all: build webapp
-build: build/xds
+.PHONY: build
+build: xds
-xds: build/xds
-
-build/xds: vendor scripts
+xds:vendor scripts
@echo "### Build XDS server (version $(VERSION))";
@cd $(ROOT_SRCDIR); $(BUILD_ENV_FLAGS) go build $(VERBOSE_$(V)) -i -o $(LOCAL_BINDIR)/xds-server -ldflags "-X main.AppVersionGitTag=$(VERSION)" .
@@ -63,14 +62,11 @@ debug: build/xds webapp/debug tools/syncthing
.PHONY: clean
clean:
- rm -rf $(LOCAL_BINDIR)/* debug cmd/*/debug $(ROOT_GOPRJ)/pkg/*/$(REPOPATH)
+ rm -rf $(LOCAL_BINDIR)/* debug $(ROOT_GOPRJ)/pkg/*/$(REPOPATH)
.PHONY: distclean
distclean: clean
- rm -rf $(LOCAL_BINDIR) tools glide.lock vendor cmd/*/vendor webapp/node_modules webapp/dist
-
-run3:
- goreman start
+ rm -rf $(LOCAL_BINDIR) tools glide.lock vendor webapp/node_modules webapp/dist
webapp: webapp/install
(cd webapp && gulp build)
@@ -111,7 +107,6 @@ help:
@echo "Main supported rules:"
@echo " build (default)"
@echo " build/xds"
- @echo " release"
@echo " clean"
@echo " distclean"
@echo ""