X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=Makefile;h=7cf90ccc77057097604febec0030a1c42b7d31aa;hb=3cc1613c7ceb89b056462f22ce5b07f3dc444ee3;hp=32e528480a28291d3a002f07899d231f2a37b389;hpb=4b1685d06af60d40ddf783cea4bdcef17cdaa84a;p=freeside.git diff --git a/Makefile b/Makefile index 32e528480..7cf90ccc7 100644 --- a/Makefile +++ b/Makefile @@ -26,13 +26,6 @@ MASONDATA = ${FREESIDE_CACHE}/masondata #package maintainers DIST_CONF = ${FREESIDE_CONF}/default_conf -#mod_perl v1 -#APACHE_VERSION = 1 -#mod_perl v2 prereleases up to and including 1.999_21 -#APACHE_VERSON = 1.99 -#mod_perl v2 proper and prereleases 1.999_22 and after -APACHE_VERSION = 2 - #deb FREESIDE_DOCUMENT_ROOT = /var/www/freeside #redhat, fedora, mandrake @@ -261,7 +254,7 @@ install-init: install-apache: [ -e ${APACHE_CONF}/freeside-base.conf ] && rm ${APACHE_CONF}/freeside-base.conf || true [ -d ${APACHE_CONF} ] && \ - ( install -o root -m 755 htetc/freeside-base${APACHE_VERSION}.conf ${APACHE_CONF} && \ + ( install -o root -m 755 htetc/freeside-base2.conf ${APACHE_CONF} && \ ( [ ${RT_ENABLED} -eq 1 ] && install -o root -m 755 htetc/freeside-rt.conf ${APACHE_CONF} || true ) && \ ( [ ${TORRUS_ENABLED} -eq 1 ] && install -o root -m 755 htetc/freeside-torrus.conf ${APACHE_CONF} || true ) && \ perl -p -i -e "\ @@ -290,7 +283,12 @@ update-selfservice: ssh ${SELFSERVICE_INSTALL_USER}@$$MACHINE "cd FS-SelfService; sudo make install" ;\ done -install: install-perl-modules install-docs install-init install-apache install-rt install-torrus install-texmf +install-chown: + chown freeside "${FREESIDE_CACHE}/counters.${DATASOURCE}" + chown freeside "${FREESIDE_CACHE}/cache.${DATASOURCE}" + chown freeside "${FREESIDE_EXPORT}/export.${DATASOURCE}" + +install: install-perl-modules install-docs install-init install-apache install-rt install-torrus install-texmf install-chown deploy: install ${HTTPD_RESTART} @@ -387,7 +385,8 @@ install-torrus: make install; \ perl -p -i -e "\ s'%%%FREESIDE_URL%%%'${FREESIDE_URL}'g;\ - " /usr/local/etc/torrus/conf/torrus-siteconfig.pl \ + " /usr/local/etc/torrus/conf/torrus-siteconfig.pl; \ + torrus clearcache \ );fi clean: