From 9120ad9bd6f3751bc0732e0e47de635be191d629 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 12 Apr 2002 23:29:50 +0000 Subject: *** no comment *** --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a289046..efa00cd 100644 --- a/Makefile +++ b/Makefile @@ -45,6 +45,7 @@ fullclean: clean VERSION=$(shell perl -ne 'print $$1 if /chess-version.*"([^"]+)"/;' chess.el) dist: fullclean all clean + -rm *~ .*~ cp -ar . /var/tmp/chess-$(VERSION) tar cvjfXC /var/tmp/chess-$(VERSION).tar.bz2 \ .exclude /var/tmp chess-$(VERSION) @@ -57,9 +58,7 @@ CAT=$(shell echo $(VERSION) | perl -ne 'print $$1 if /[-0-9]+([ab])[0-9]+/;') SUB=$(shell echo $(VERSION) | perl -ne 'print $$1 if /[-0-9]+[ab]([0-9]+)/;') NEXT=$(shell expr $(SUB) + 1) -update: dist - sitecopy - make fullclean +update: dist fullclean cvs tag chess-$(TAG) - perl -i -ne 's/(chess-version.*)"([0-9.]+)[ab][0-9]+"/$$1"$$2$(CAT)$(NEXT)"/;' chess.el + perl -i -pe 's/(chess-version.*)"([0-9.]+)[ab][0-9]+"/$$1"$$2$(CAT)$(NEXT)"/;' chess.el cvs commit -m "bumped minor rev" chess.el -- cgit v1.2.3