Give Makefile a 'release' target

This commit is contained in:
Worros 2010-07-07 12:48:13 +08:00
parent 1d47fbb3c5
commit 01a853d84e

View File

@ -23,3 +23,7 @@ all:
snapshot: snapshot:
git tag $(VERSION)-$(DATE) git tag $(VERSION)-$(DATE)
git archive --prefix=fpdb-$(VERSION)-$(DATE)/ $(VERSION)-$(DATE) | gzip -9 > ../fpdb-$(VERSION)-$(DATE).tar.gz git archive --prefix=fpdb-$(VERSION)-$(DATE)/ $(VERSION)-$(DATE) | gzip -9 > ../fpdb-$(VERSION)-$(DATE).tar.gz
release:
git tag $(VERSION)
git archive --prefix=fpdb-$(VERSION)/ $(VERSION) | gzip -9 > ../fpdb-$(VERSION).tar.gz