fpdb/Makefile

12 lines
345 B
Makefile
Raw Normal View History

2009-12-07 05:14:19 +01:00
# Variable definitions
2010-03-05 05:06:00 +01:00
VERSION = 0.20
2009-12-07 05:14:19 +01:00
DATE = $(shell date +%Y%m%d)
all:
@echo "Usage:"
@echo " make snapshot - Tags the repository with $(VERSION)-$(DATE) and creates a tarball from that"
snapshot:
git tag $(VERSION)-$(DATE)
git archive --prefix=fpdb-$(VERSION)-$(DATE)/ $(VERSION)-$(DATE) | gzip -9 > ../fpdb-$(VERSION)-$(DATE).tar.gz