diff --git a/Makefile b/Makefile index 681babe..c25b9d3 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +VERSION=2.0 + all: executable commit-patch.1 # Darcs loses the x bit. :-( @@ -6,3 +8,11 @@ executable: commit-patch.1: commit-patch pod2man -c "User Commands" $< > $@ + +release: commit-patch-$(VERSION) + +commit-patch-$(VERSION): commit-patch commit-patch-buffer.el commit-patch.1 Makefile README COPYING + mkdir commit-patch-$(VERSION) + cp -p $^ commit-patch-$(VERSION) + tar czf commit-patch-$(VERSION).tar.gz commit-patch-$(VERSION) + rm -rf commit-patch-$(VERSION)