autogenerate rt/config.layout file
authorivan <ivan>
Tue, 16 Mar 2004 06:59:51 +0000 (06:59 +0000)
committerivan <ivan>
Tue, 16 Mar 2004 06:59:51 +0000 (06:59 +0000)
Makefile

index 20b70af..dd55046 100644 (file)
--- 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 \