wilde: server/php-smarty Makefile,1.8,1.8.2.1
cvs at kolab.org
cvs at kolab.org
Mon Nov 9 15:23:58 CET 2009
Author: wilde
Update of /kolabrepository/server/php-smarty
In directory doto:/tmp/cvs-serv21750/php-smarty
Modified Files:
Tag: kolab_2_2_branch
Makefile
Log Message:
Replaced (ab)use of $HOME in Makefiles by new var KOLABDIR.
This is determined by asking the openpkg package for its INSTALLPREFIX.
To make this and subsequent changes easier a new source wide make includefile
kolab.mk was implemented.
Index: Makefile
===================================================================
RCS file: /kolabrepository/server/php-smarty/Makefile,v
retrieving revision 1.8
retrieving revision 1.8.2.1
diff -u -d -r1.8 -r1.8.2.1
--- Makefile 21 Oct 2008 17:03:57 -0000 1.8
+++ Makefile 9 Nov 2009 14:23:56 -0000 1.8.2.1
@@ -1,3 +1,5 @@
+include ../kolab.mk
+
NAME = Smarty
PACKAGE = php-smarty
VERSION = $(shell grep "%define[ ]*V_version" *.spec | sed -e "s/.*V_version\s*\([0-9.]*\).*/\1/")
@@ -5,16 +7,16 @@
KOLABRELEASE = $(RELEASE)
ifeq "x$(RPM)" "x"
- RPM = $(HOME)/bin/openpkg rpm
+ RPM = $(KOLABDIR)/bin/openpkg rpm
endif
ifeq "x$(KOLABRPMSRC)" "x"
- KOLABRPMSRC = $(HOME)/RPM/SRC
+ KOLABRPMSRC = $(KOLABDIR)/RPM/SRC
endif
ifeq "x$(KOLABRPMPKG)" "x"
- KOLABRPMPKG = $(HOME)/RPM/PKG
+ KOLABRPMPKG = $(KOLABDIR)/RPM/PKG
endif
ifeq "x$(KOLABRPMTMP)" "x"
- KOLABRPMTMP = $(HOME)/RPM/TMP
+ KOLABRPMTMP = $(KOLABDIR)/RPM/TMP
endif
#SOURCE_0=http://www.smarty.net/distributions/$(NAME)-$(VERSION).tar.gz
More information about the commits
mailing list