summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2004-03-16 06:59:51 +0000
committerivan <ivan>2004-03-16 06:59:51 +0000
commit503094650e95d616b467c51e96ec70be0bd79e57 (patch)
treebc6c08b5553dba9ab2d18069113a9d2917520072
parent746f4a81b7cc2073a06675a08e930d9f2d76cbb0 (diff)
autogenerate rt/config.layout file
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 20b70af67..dd55046a7 100644
--- a/Makefile
+++ b/Makefile
@@ -186,7 +186,11 @@ create-config: install-perl-modules
configure-rt:
cd rt; \
- ./configure --htmldir=${FREESIDE_DOCUMENT_ROOT}/rt \
+ cp config.layout.in config.layout; \
+ perl -p -i -e \"
+ s/%%%FREESIDE_DOCUMENT_ROOT%%%/${FREESIDE_DOCUMENT_ROOT}/g;\
+ " config.layout
+ ./configure --with-layout=Freeside\
--masonstatedir=${MASONDATA} \
--with-db-type=Pg \
--with-db-database=freeside \