Commit in slic on MAIN
GNUmakefile+9-21.30 -> 1.31
JM: add make target to automate versioning based on version tag in configure.ac

slic
GNUmakefile 1.30 -> 1.31
diff -u -r1.30 -r1.31
--- GNUmakefile	6 Dec 2005 00:54:17 -0000	1.30
+++ GNUmakefile	1 Feb 2006 19:56:35 -0000	1.31
@@ -1,4 +1,4 @@
-# $Header: /cvs/lcd/slic/GNUmakefile,v 1.30 2005/12/06 00:54:17 jeremy Exp $
+# $Header: /cvs/lcd/slic/GNUmakefile,v 1.31 2006/02/01 19:56:35 jeremy Exp $
 #
 # Makefile for SLIC simulation package based on examples GNUmakefile by G. Cosmo.
 #
@@ -11,7 +11,7 @@
 G4EXLIB  := true
 
 # default target
-.PHONY: all
+.PHONY: all version
 
 # create lib, bin, copy the lib and test that binary runs
 all: check_config lib lib_copy bin test
@@ -81,3 +81,10 @@
 distclean: clean
 	rm -v $(SLIC_BASE)/GNUmakefile.local
 	rm -v $(SLIC_BASE)/include/PackageInfo.hh
+
+version:
+	./ac.sh ; \
+	./configure --enable-version --enable-package-info ; \
+	cvs commit -m "JM: update for next version" VERSION configure configure.ac include/PackageInfo.hh ; \
+	./scripts/rtag.sh ;
+
CVSspam 0.2.8