From: ivan Date: Tue, 16 Mar 2004 06:59:51 +0000 (+0000) Subject: autogenerate rt/config.layout file X-Git-Tag: NET_WHOIS_RAW_0_31~70 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=503094650e95d616b467c51e96ec70be0bd79e57 autogenerate rt/config.layout file --- 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 \