gunnar: server/horde-framework Makefile,1.2,1.3
cvs at kolab.org
cvs at kolab.org
Fri May 25 12:22:30 CEST 2007
- Previous message: gunnar: server/horde Makefile, 1.8, 1.9 conf.php, NONE, 1.1 hooks.php, NONE, 1.1 horde-kolab-conf.template, NONE, 1.1 horde-kolab.spec, NONE, 1.1 registry.php, NONE, 1.1
- Next message: gunnar: server/horde-imp - New directory
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: gunnar
Update of /kolabrepository/server/horde-framework
In directory doto:/tmp/cvs-serv16082
Modified Files:
Makefile
Log Message:
Handle patches in a different way so that we can use the same Makefile for all Horde packages.
Index: Makefile
===================================================================
RCS file: /kolabrepository/server/horde-framework/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Makefile 25 May 2007 09:25:20 -0000 1.2
+++ Makefile 25 May 2007 10:22:28 -0000 1.3
@@ -10,6 +10,7 @@
VERSION = ${YEAR}${MONTH}${DAY}
RELEASE = $(shell grep "%define[ ]*V_release" *.spec | sed -e "s/.*V_release\s*\([0-9]*\).*/\1/")
+PATCHES = $(shell find . -name "*.patch")
TEMPLATES = $(shell find . -name "*.template")
CONFIGS = $(shell find . -name "*.php")
@@ -25,8 +26,14 @@
test -d $(KOLABRPMSRC)/$(PACKAGE) || mkdir $(KOLABRPMSRC)/$(PACKAGE)
cd $(KOLABRPMSRC)/$(PACKAGE) && wget -c "$(SOURCE_0)"
- cp *.patch $(KOLABRPMSRC)/$(PACKAGE)
cp $(PACKAGE).spec $(KOLABRPMSRC)/$(PACKAGE)
+
+ if [ -n "$(PATCHES)" ]; then \
+ for PATCH in $(PATCHES); \
+ do \
+ cp $$PATCH $(KOLABRPMSRC)/$(PACKAGE);\
+ done; \
+ fi
if [ -n "$(TEMPLATES)" ]; then \
for TEMPLATE in $(TEMPLATES); \
- Previous message: gunnar: server/horde Makefile, 1.8, 1.9 conf.php, NONE, 1.1 hooks.php, NONE, 1.1 horde-kolab-conf.template, NONE, 1.1 horde-kolab.spec, NONE, 1.1 registry.php, NONE, 1.1
- Next message: gunnar: server/horde-imp - New directory
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the commits
mailing list