summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2014-06-21 14:58:09 +0200
committerAlfred E. Heggestad <aeh@db.org>2014-06-21 14:58:09 +0200
commitb99deff486012818bd849563e8be6f87cd66a4db (patch)
treedde5d7e32b2df22abfec0b7d1d4f2cbe994d9861 /Makefile
parent7d67581bf7e33f0c7a44fb389c0849a223099e28 (diff)
makefile: added git_release target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index dcc7ffb..c31eec7 100644
--- a/Makefile
+++ b/Makefile
@@ -239,3 +239,7 @@ src/static.c: $(BUILD) Makefile $(APP_MK) $(MOD_MK)
done
@echo " NULL" >> $@
@echo "};" >> $@
+
+git_release:
+ git archive --format=tar --prefix=$(PROJECT)-$(VERSION)/ v$(VERSION) \
+ | gzip > $(PROJECT)-$(VERSION).tar.gz