summaryrefslogtreecommitdiff
path: root/kolab-fbview
diff options
context:
space:
mode:
authorSascha Wilde <wilde@intevation.de>2009-11-09 14:23:56 (GMT)
committerSascha Wilde <wilde@intevation.de>2009-11-09 14:23:56 (GMT)
commit4b74fc89bd6113856cf6f5f999e1d1ba23f79d43 (patch)
tree9b3608ad3e13df78e06ea39f8a8592d7e4dd0604 /kolab-fbview
parent67987d69c6718cc7b4a38254928fe7f0c1cdbfb9 (diff)
downloadserver-4b74fc89bd6113856cf6f5f999e1d1ba23f79d43.tar.gz
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.
Diffstat (limited to 'kolab-fbview')
-rw-r--r--kolab-fbview/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/kolab-fbview/Makefile b/kolab-fbview/Makefile
index a0f500f..910ad51 100644
--- a/kolab-fbview/Makefile
+++ b/kolab-fbview/Makefile
@@ -1,14 +1,16 @@
+include ../kolab.mk
+
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
HORDE_NAME = $(shell grep "%define[ ]*V_horde_name" *.spec | sed -e "s/.*V_horde_name \([a-z-]*\).*/\1/")