diff options
author | intrigeri <intrigeri@boum.org> | 2017-06-28 07:53:06 +0000 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2017-06-28 07:53:06 +0000 |
commit | a9c8a479587e5128b87fa602a3bfebe46293afdc (patch) | |
tree | 663afc079302a5bdae78f3815cccafc9c48c717b | |
parent | eb7142fc241b0ccf8741c9bffb8fe55a397a8980 (diff) |
Add a Makefile target to create a new upstream release tarball.
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -10,4 +10,11 @@ clean: distclean: clean rm -f metche.8 +VERSION=$(shell head -n1 Changelog | awk '{print $$1}') +release: Changelog + git archive \ + --prefix=metche-$(VERSION)/ \ + --output=../metche-$(VERSION).tar.gz \ + master + .PHONY: all doc clean distclean |