diff --git a/Makefile b/Makefile index bbbeb76..c1f18e8 100644 --- a/Makefile +++ b/Makefile @@ -10,4 +10,11 @@ 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