steffen: server/kolab-webadmin Makefile, 1.5, 1.6 kolab-webadmin.spec, 1.15, NONE
cvs at intevation.de
cvs at intevation.de
Wed Jun 23 12:26:53 CEST 2004
Author: steffen
Update of /kolabrepository/server/kolab-webadmin
In directory doto:/tmp/cvs-serv326
Modified Files:
Makefile
Removed Files:
kolab-webadmin.spec
Log Message:
build spec file with configure
Index: Makefile
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/Makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Makefile 21 Jun 2004 01:46:39 -0000 1.5
+++ Makefile 23 Jun 2004 10:26:51 -0000 1.6
@@ -1,16 +1,17 @@
RPM = /kolab/bin/openpkg rpm
-VERSION = 0.2.3
-RELEASE = 20040620
RPMNAME=kolab-webadmin
ifeq "x$(KOLABRPMSRC)" "x"
KOLABRPMSRC = /kolab/RPM/SRC
endif
+VERSION:=`grep 'm4_define(_VERSION' $(PWD)/$(RPMNAME)/configure.ac|sed 's/m4_define(_VERSION,\(.*\))/\1/'`
+
all:
test -d $(KOLABRPMSRC)/$(RPMNAME) || mkdir $(KOLABRPMSRC)/$(RPMNAME)
- cd $(RPMNAME) && ./bootstrap && ./configure && make dist && mv $(RPMNAME)-$(VERSION).tar.gz $(KOLABRPMSRC)/$(RPMNAME)
- cp $(RPMNAME).spec $(KOLABRPMSRC)/$(RPMNAME)/
+ cd $(RPMNAME) && ./bootstrap && ./configure --prefix=/kolab \
+ && make dist && mv $(RPMNAME)-$(VERSION).tar.gz $(KOLABRPMSRC)/$(RPMNAME)
+ cp $(RPMNAME)/$(RPMNAME).spec $(KOLABRPMSRC)/$(RPMNAME)/
cd $(KOLABRPMSRC)/$(RPMNAME) && $(RPM) -ba $(RPMNAME).spec
binary:
$(RPM) -bB $(RPMNAME).spec
--- kolab-webadmin.spec DELETED ---
More information about the commits
mailing list