summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormark <mark>2011-05-20 01:19:45 +0000
committermark <mark>2011-05-20 01:19:45 +0000
commitc7c89749e658bbd611c82635ded9fb87eefeb3b3 (patch)
tree984adbbfb0335e515ad726f950c5a32d8529cc08 /Makefile
parentfa42af7640a4d34a94e3209eef7f2b079205deaa (diff)
install RT initialdata, #9569
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2036c681a..6c7aac4ee 100644
--- a/Makefile
+++ b/Makefile
@@ -221,7 +221,7 @@ perl-modules:
s|%%%DIST_CONF%%%|${DIST_CONF}|g;\
" blib/script/*
-install-perl-modules: perl-modules
+install-perl-modules: perl-modules install-rt-initialdata
[ -L ${PERL_INC_DEV_KLUDGE}/FS ] \
&& rm ${PERL_INC_DEV_KLUDGE}/FS \
&& mv ${PERL_INC_DEV_KLUDGE}/FS.old ${PERL_INC_DEV_KLUDGE}/FS \
@@ -375,6 +375,11 @@ install-rt:
s'%%%FREESIDE_URL%%%'${FREESIDE_URL}'g;\
" ${RT_PATH}/etc/RT_SiteConfig.pm; fi
+install-rt-initialdata:
+ if [ ${RT_ENABLED} -eq 1 ]; then \
+ install -D -o freeside -g freeside -m 0440 rt/etc/initialdata \
+ ${RT_PATH}/etc/initialdata; fi
+
clean:
rm -rf masondocs
rm -rf httemplate/docs/man