From 503094650e95d616b467c51e96ec70be0bd79e57 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 16 Mar 2004 06:59:51 +0000 Subject: [PATCH] autogenerate rt/config.layout file --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 \ -- 2.11.0