martin: server/kolabd Makefile,1.9,1.10

cvs at intevation.de cvs at intevation.de
Sun Jan 1 23:21:21 CET 2006


Author: martin

Update of /kolabrepository/server/kolabd
In directory doto:/tmp/cvs-serv422

Modified Files:
	Makefile 
Log Message:
Martin Konold: Issue#1058 Adding support for tar target


Index: Makefile
===================================================================
RCS file: /kolabrepository/server/kolabd/Makefile,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- Makefile	20 Dec 2005 09:18:50 -0000	1.9
+++ Makefile	1 Jan 2006 22:21:19 -0000	1.10
@@ -8,6 +8,8 @@
 VERSION:=`grep 'm4_define(_VERSION' $(PWD)/$(PACKAGE)/configure.ac|sed 's/m4_define(_VERSION,\(.*\))/\1/'`
 RELEASE:=`date '+%Y%m%d'`
 
+MAKETAR = dist
+
 all:
 	test -d $(KOLABRPMSRC)/$(PACKAGE) || mkdir $(KOLABRPMSRC)/$(PACKAGE)
 	cd $(PACKAGE) && ./bootstrap && ./configure --prefix=/kolab --enable-dist=kolab \
@@ -20,3 +22,7 @@
 
 dist: all
 	cp $(KOLABRPMSRC)/../PKG/$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm ../stage/
+
+tar:
+	test -d $(MAKETAR)/$(PACKAGE) || mkdir -p $(MAKETAR)/$(PACKAGE)
+	tar -cvj --exclude=CVS --exclude=\*~ --exclude=dist -f $(MAKETAR)/$(PACKAGE)/$(PACKAGE)-$(VERSION)-$(RELEASE).tar.bz2 *





More information about the commits mailing list