summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-11 23:47:24 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-11 23:47:24 +0000
commitefeb1b7a6e0caea5d1722cce7a6414190cdeae06 (patch)
tree20870eae208f7aeae76e79be4c581d4108f41f38 /Makefile
parent18cadd5325c3ddba03b4b1836f119a3adfba9e19 (diff)
*** no comment ***
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 53ed32f..a289046 100644
--- a/Makefile
+++ b/Makefile
@@ -43,23 +43,23 @@ fullclean: clean
-rm $(TARGET) chess.info chess-auto.el
VERSION=$(shell perl -ne 'print $$1 if /chess-version.*"([^"]+)"/;' chess.el)
-TAG=$(shell echo $(VERSION) | sed 's/\./-/g')
-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)
dist: fullclean all clean
- cvs tag chess-$(TAG)
cp -ar . /var/tmp/chess-$(VERSION)
tar cvjfXC /var/tmp/chess-$(VERSION).tar.bz2 \
.exclude /var/tmp chess-$(VERSION)
rm -fr /var/tmp/chess-$(VERSION)
mv /var/tmp/chess-$(VERSION).tar.bz2 \
$(HOME)/public_html/Emacs/packages
- perl -i -ne 's/(chess-version.*)"([0-9.]+)[ab][0-9]+"/$$1"$$2$(CAT)$(NEXT)"/;' chess.el
- cvs commit -m "bumped minor rev" chess.el
-update:
- make dist
+TAG=$(shell echo $(VERSION) | sed 's/\./-/g')
+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
+ cvs tag chess-$(TAG)
+ perl -i -ne 's/(chess-version.*)"([0-9.]+)[ab][0-9]+"/$$1"$$2$(CAT)$(NEXT)"/;' chess.el
+ cvs commit -m "bumped minor rev" chess.el