steffen: server/kolabd Makefile,1.4,1.4.2.1

cvs at intevation.de cvs at intevation.de
Wed Jan 11 05:42:42 CET 2006


Author: steffen

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

Modified Files:
      Tag: kolab_2_0_branch
	Makefile 
Log Message:
version + updates Makefiles to build everything from the toplevel

Index: Makefile
===================================================================
RCS file: /kolabrepository/server/kolabd/Makefile,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- Makefile	28 Apr 2005 00:16:59 -0000	1.4
+++ Makefile	11 Jan 2006 04:42:40 -0000	1.4.2.1
@@ -1,18 +1,24 @@
-RPM = /kolab/bin/openpkg rpm
-VERSION = 1.9.4
-
 ifeq "x$(KOLABRPMSRC)" "x"
   KOLABRPMSRC = /kolab/RPM/SRC
 endif
 
+PACKAGE=kolabd
+VERSION = 1.9.4
+RELEASE=20051219
+
+RPM = /kolab/bin/openpkg rpm
+
 all:
-	test -d $(KOLABRPMSRC)/kolabd || mkdir $(KOLABRPMSRC)/kolabd
-	cd kolabd && tar -cvz --exclude=CVS --exclude=\*~ -f $(KOLABRPMSRC)/kolabd/kolabd-$(VERSION).tar.gz * 
-	cp rc.kolabd kolabd.spec $(KOLABRPMSRC)/kolabd/
-	cd $(KOLABRPMSRC)/kolabd && $(RPM) -ba kolabd.spec --define 'kolab_version CVS'
+	test -d $(KOLABRPMSRC)/$(PACKAGE) || mkdir $(KOLABRPMSRC)/$(PACKAGE)
+	cd $(PACKAGE) && tar -cvz --exclude=CVS --exclude=\*~ -f $(KOLABRPMSRC)/$(PACKAGE)/$(PACKAGE)-$(VERSION).tar.gz * 
+	cp rc.kolabd $(PACKAGE).spec $(KOLABRPMSRC)/$(PACKAGE)/
+	cd $(KOLABRPMSRC)/$(PACKAGE) && $(RPM) -ba $(PACKAGE).spec --define 'kolab_version CVS'
 binary:
-	$(RPM) -bB kolabd.spec
+	$(RPM) -bB $(PACKAGE).spec
 
 release:
-	cd kolabd && tar -cvz --exclude=CVS --exclude=\*~ -f ../kolabd-$(VERSION).tar.gz *
-	$(RPM) -ba kolabd.spec
+	cd $(PACKAGE) && tar -cvz --exclude=CVS --exclude=\*~ -f ../$(PACKAGE)-$(VERSION).tar.gz *
+	$(RPM) -ba $(PACKAGE).spec
+
+dist: all
+	cp $(KOLABRPMSRC)/../PKG/$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm ../stage/





More information about the commits mailing list