summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorivan <ivan>2007-08-04 01:58:29 +0000
committerivan <ivan>2007-08-04 01:58:29 +0000
commit59bc1cbda010b965c50ba62d7d6eb0815650eda5 (patch)
tree15315654ddde4e5a946921f15b146e98720ff304 /Makefile
parent4f7a1a2921aa875b27531a78a81716a07b47b0fa (diff)
update Makefile to always substitute in RT_SiteConfig.pm when running install-rt
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 76a92c7..637e546 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: