transposition
[freeside.git] / Makefile
index 20b70af..42f1b85 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 \