[Lunar-commits] CVS: ltools Makefile,1.1.1.1,1.2

Auke Kok sofar at lunar-linux.org
Tue Oct 19 10:48:48 UTC 2004


Update of /var/cvs/lunar/ltools
In directory espresso.foo-projects.org:/home/sofar/active/ltools

Modified Files:
	Makefile 
Log Message:
Adding version number and release (tarball creation) target


Index: Makefile
===================================================================
RCS file: /var/cvs/lunar/ltools/Makefile,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- Makefile	19 Oct 2004 10:39:38 -0000	1.1.1.1
+++ Makefile	19 Oct 2004 10:48:46 -0000	1.2
@@ -2,6 +2,11 @@
 # Makefile for ltools - a collection of lunar-related shell tools
 #
 
+# versioning scheme: since this is mostly a linear process if incremental
+# but we do not update that often we use year.number as version number
+# i.e. 2004.9 2004.10 2004.11 ...
+VERSION = 2004.1
+
 PROGRAMS = lids/lids luser/luser lnet/lnet
 SBINDIR = /usr/sbin/
 BINDIR = /usr/bin/
@@ -15,3 +20,7 @@
 	    install -m755 $${PROGRAM} ${SBINDIR} ; \
 	done ;
 
+release:
+	cd .. ; \
+	tar cjvf /tmp/ltools-${VERSION}.tar.bz2 --exclude="*/CVS*" ltools/ ; \
+	cd - ;



More information about the Lunar-commits mailing list