aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ab5cad0..09d5558 100644
--- a/Makefile
+++ b/Makefile
@@ -75,7 +75,15 @@ format:
@find . -name "*.h" -o -name "*.c" -not -path "./vendor/*" | xargs clang-format -i -style=Google
install:
+ go install $(CMD_DIR)
+
+install_all:
govendor install $(GOFLAGS) +local
+TARBALL = $(NAME).$(shell date --iso-8601).tar.gz
+$(TARBALL):
+ git archive --format=tar.gz --output=$(TARBALL) HEAD
+tarball: $(TARBALL)
+
clean:
- rm -rf $(NAME)
+ rm -rf $(NAME) $(TARBALL)