summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-12 23:29:50 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-12 23:29:50 +0000
commit9120ad9bd6f3751bc0732e0e47de635be191d629 (patch)
tree8834b274a86fda57e5ebf166b52b66ea1320dec4 /Makefile
parent8c74ac54b31f50f4e5e2c2d4e746181e243da9b5 (diff)
*** no comment ***
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
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