From 0a2e11e80057d0feb91356d9919a2a988ac90e85 Mon Sep 17 00:00:00 2001 From: David Caldwell Date: Wed, 23 Aug 2006 02:09:41 -0700 Subject: [PATCH] Add "make release". --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) 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) -- 2.51.2