summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorivan <ivan>2004-03-16 06:45:22 +0000
committerivan <ivan>2004-03-16 06:45:22 +0000
commitd5097ef7712573de5faf223de8c9ec0a43ffcff0 (patch)
treecbb1818cadbedf4dec46a15d5de340d04e889cf4 /Makefile
parentae11d16db998c044e523030cc026b2d0c0bc981b (diff)
initial RT targets
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ba1f5cd..20b70af 100644
--- a/Makefile
+++ b/Makefile
@@ -70,6 +70,7 @@ help:
@echo " perl-modules install-perl-modules"
@echo " install deploy"
@echo " create-database"
+ @echo " configure-rt create-rt"
@echo " clean"
aspdocs: htmlman httemplate/* httemplate/*/* httemplate/*/*/* httemplate/*/*/*/* httemplate/*/*/*/*/*
@@ -183,6 +184,24 @@ create-config: install-perl-modules
mkdir "${FREESIDE_CONF}/export.${DATASOURCE}"
chown freeside "${FREESIDE_CONF}/export.${DATASOURCE}"
+configure-rt:
+ cd rt; \
+ ./configure --htmldir=${FREESIDE_DOCUMENT_ROOT}/rt \
+ --masonstatedir=${MASONDATA} \
+ --with-db-type=Pg \
+ --with-db-database=freeside \
+ --with-db-rt-user=${DB_USER} \
+ --with-db-rt-pass=${DB_PASSWORD} \
+ --with-web-user=freeside \
+ --with-web-group=www
+
+create-rt: configure-rt
+ cd rt; make install
+ rt/sbin/rt-initialize-database --action schema
+ rt/sbin/rt-initialize-database --action insert_initial
+ rt/sbin/rt-initialize-database --action insert --datafile rt/etc/initialdata
+
+
clean:
rm -rf aspdocs masondocs
cd FS; \