summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2019-08-07 22:49:24 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2019-08-07 23:03:45 +0200
commitdbe330b8796ca9f403b5d5fe2133726ba504a803 (patch)
treea7b0ff095ebf574239719b316af0b204fad0b312 /Makefile
parentcefd0857d1f6d798fedd2e6495a026d0b1de936b (diff)
[pkg] missing snap boilerplate
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 49d87f7..bdfbcea 100644
--- a/Makefile
+++ b/Makefile
@@ -53,7 +53,7 @@ get:
# when we can depend on go 1.11 we don't need the get step anymore
-build: get $(foreach path,$(wildcard cmd/*),build_$(patsubst cmd/%,%,$(path)))
+build: get $(foreach path,$(wildcard cmd/*),build_$(patsubst cmd/%,%,$(path))) build_done
build_%:
go build -tags $(TAGS) -ldflags "-s -w -X main.version=`git describe --tags`" -o $* ./cmd/$*
@@ -79,6 +79,9 @@ CROSS_OSX_FLAGS = MACOSX_DEPLOYMENT_TARGET=10.10 CGO_ENABLED=1 GOOS=darwin CC="o
build_cross_osx:
$(CROSS_OSX_FLAGS) $(MAKE) build
+build_done:
+ @echo
+ @echo 'Done. You can do "make packages" now.'
clean:
@rm -rf build/