richard: server/kolab-resource-handlers Makefile,1.12,1.13
cvs at intevation.de
cvs at intevation.de
Sat Dec 17 12:05:58 CET 2005
Author: richard
Update of /kolabrepository/server/kolab-resource-handlers
In directory doto:/tmp/cvs-serv2422
Modified Files:
Makefile
Log Message:
* ../Makefile: the rpm could not be build, fixed by copying the
kolabd Makefile and some little adaptions to it
* kolab-resource-handlers.spec.in: simplified the %setup tag and
the configure command
* Makefile.am: group resmgr/kolabfilter.php and
resmgr/kolabmailboxfilter.php into the conffile_FILES
Create the directories $(resmgr_filterdir) and $(freebusy_cachedir)
during installation
* freebusy/pfb.php.in,
freebusy/freebusy.php.in: @freebusy_cachefile@ replaced by
@freebusy_cachedir@
* resmgr/kolabfilter.php.in,
resmgr/kolabmailboxfilter.php.in: @resmgr_filter@ replaced by
@resmgr_filterdir@
Index: Makefile
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/Makefile,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- Makefile 14 Oct 2005 14:40:36 -0000 1.12
+++ Makefile 17 Dec 2005 11:05:56 -0000 1.13
@@ -1,12 +1,18 @@
RPM = /kolab/bin/openpkg rpm
-VERSION = 2.0.99
-PEARVERSION = 1.3
+RPMNAME=kolab-resource-handlers
+
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)/kolab-resource-handlers || mkdir $(KOLABRPMSRC)/kolab-resource-handlers
- tar -cvj --exclude=CVS --exclude=\*~ -f $(KOLABRPMSRC)/kolab-resource-handlers/kolab-resource-handlers-$(VERSION).tar.bz2 *
- cp kolab-resource-handlers.spec $(KOLABRPMSRC)/kolab-resource-handlers/
- cd $(KOLABRPMSRC)/kolab-resource-handlers && $(RPM) -ba kolab-resource-handlers.spec
+ test -d $(KOLABRPMSRC)/$(RPMNAME) || mkdir $(KOLABRPMSRC)/$(RPMNAME)
+ cd $(RPMNAME) && ./bootstrap && ./configure --prefix=/kolab --enable-dist=kolab \
+ && make clean dist && mv $(RPMNAME)-$(VERSION).tar.bz2 $(KOLABRPMSRC)/$(RPMNAME)
+ cp $(RPMNAME)/$(RPMNAME).spec $(KOLABRPMSRC)/$(RPMNAME)/
+ cd $(KOLABRPMSRC)/$(RPMNAME) && $(RPM) -ba $(RPMNAME).spec --define 'kolab_version CVS'
+binary:
+ $(RPM) -bB $(RPMNAME).spec
+
More information about the commits
mailing list