Add a Makefile target to create a new upstream release tarball.
intrigeri
6 years ago
9 | 9 |
distclean: clean
|
10 | 10 |
rm -f metche.8
|
11 | 11 |
|
|
12 |
VERSION=$(shell head -n1 Changelog | awk '{print $$1}')
|
|
13 |
release: Changelog
|
|
14 |
git archive \
|
|
15 |
--prefix=metche-$(VERSION)/ \
|
|
16 |
--output=../metche-$(VERSION).tar.gz \
|
|
17 |
master
|
|
18 |
|
12 | 19 |
.PHONY: all doc clean distclean
|