gunnar: server/kolabd Makefile,1.10,1.11

cvs at kolab.org cvs at kolab.org
Fri Jul 27 12:30:35 CEST 2007


Author: gunnar

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

Modified Files:
	Makefile 
Log Message:
Fix the Makefiles for a possible non-standard development environment (meaning: not located in /kolab).

Index: Makefile
===================================================================
RCS file: /kolabrepository/server/kolabd/Makefile,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- Makefile	1 Jan 2006 22:21:19 -0000	1.10
+++ Makefile	27 Jul 2007 10:30:33 -0000	1.11
@@ -1,14 +1,21 @@
-RPM = /kolab/bin/openpkg rpm
 PACKAGE=kolabd
-
-ifeq "x$(KOLABRPMSRC)" "x"
-  KOLABRPMSRC = /kolab/RPM/SRC
-endif
-
 VERSION:=`grep 'm4_define(_VERSION' $(PWD)/$(PACKAGE)/configure.ac|sed 's/m4_define(_VERSION,\(.*\))/\1/'`
 RELEASE:=`date '+%Y%m%d'`
 
 MAKETAR = dist
+
+ifeq "x$(RPM)" "x"
+  RPM = $(HOME)/bin/openpkg rpm
+endif
+ifeq "x$(KOLABRPMSRC)" "x"
+  KOLABRPMSRC = $(HOME)/RPM/SRC
+endif
+ifeq "x$(KOLABRPMPKG)" "x"
+  KOLABRPMPKG = $(HOME)/RPM/PKG
+endif
+ifeq "x$(KOLABRPMTMP)" "x"
+  KOLABRPMTMP = $(HOME)/RPM/TMP
+endif
 
 all:
 	test -d $(KOLABRPMSRC)/$(PACKAGE) || mkdir $(KOLABRPMSRC)/$(PACKAGE)





More information about the commits mailing list