From: ivan Date: Sat, 4 Aug 2007 01:58:29 +0000 (+0000) Subject: update Makefile to always substitute in RT_SiteConfig.pm when running install-rt X-Git-Tag: TRIXBOX_2_6~421 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=59bc1cbda010b965c50ba62d7d6eb0815650eda5;p=freeside.git update Makefile to always substitute in RT_SiteConfig.pm when running install-rt --- diff --git a/Makefile b/Makefile index 76a92c73b..637e5465e 100644 --- a/Makefile +++ b/Makefile @@ -337,13 +337,13 @@ create-rt: configure-rt rt/sbin/rt-setup-database --action insert_initial \ && rt/sbin/rt-setup-database --action insert --datafile ${RT_PATH}/etc/initialdata \ || true + +install-rt: perl -p -i -e "\ s'%%%RT_DOMAIN%%%'${RT_DOMAIN}'g;\ s'%%%RT_TIMEZONE%%%'${RT_TIMEZONE}'g;\ s'%%%FREESIDE_URL%%%'${FREESIDE_URL}'g;\ " ${RT_PATH}/etc/RT_SiteConfig.pm - -install-rt: [ ${RT_ENABLED} -eq 1 ] && ( cd rt; make install ) || true clean: