X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=Makefile;h=bd6019bc853595b9df402618c8f6c738e753ef4d;hp=2c2b7a5be7589c0ad380345722843dd384883b02;hb=baa3c17313351ba4330686a664d3843365e31e37;hpb=2ee78e49dd604c6269463fd0431bb7bf361a170a diff --git a/Makefile b/Makefile index 2c2b7a5be..bd6019bc8 100644 --- a/Makefile +++ b/Makefile @@ -21,13 +21,15 @@ FREESIDE_DOCUMENT_ROOT = /var/www/freeside #FREESIDE_DOCUMENT_ROOT = /usr/local/www/data/freeside #openbsd #FREESIDE_DOCUMENT_ROOT = /var/www/htdocs/freeside +#suse +#FREESIDE_DOCUMENT_ROOT = /srv/www/htdocs -#deb, redhat, mandrake, others? +#deb, redhat, mandrake, suse, others? INIT_FILE = /etc/init.d/freeside #freebsd #INIT_FILE = /usr/local/etc/rc.d/011.freeside.sh -#deb +#deb, suse HTTPD_RESTART = /etc/init.d/apache restart #redhat, mandrake #HTTPD_RESTART = /etc/init.d/httpd restart @@ -38,7 +40,7 @@ HTTPD_RESTART = /etc/init.d/apache restart FREESIDE_RESTART = ${INIT_FILE} restart -#deb, redhat, mandrake, others? +#deb, redhat, mandrake, suse, others? INSTALLGROUP = root #freebsd, openbsd #INSTALLGROUP = wheel @@ -51,7 +53,8 @@ QUEUED_USER=fs_queue FREESIDE_PATH = `pwd` SELFSERVICE_USER = fs_selfservice -SELFSERVICE_MACHINE = localhost +SELFSERVICE_MACHINES = localhost +# SELFSERVICE_MACHINES = web1.example.com web2.example.com #--- @@ -137,7 +140,7 @@ install-init: s/%%%QUEUED_USER%%%/${QUEUED_USER}/g;\ s'%%%FREESIDE_PATH%%%'${FREESIDE_PATH}'g;\ s/%%%SELFSERVICE_USER%%%/${SELFSERVICE_USER}/g;\ - s/%%%SELFSERVICE_MACHINE%%%/${SELFSERVICE_MACHINE}/g;\ + s/%%%SELFSERVICE_MACHINES%%%/${SELFSERVICE_MACHINES}/g;\ " ${INIT_FILE} install: install-perl-modules install-docs install-init @@ -151,8 +154,7 @@ create-database: create-config: install-perl-modules [ -e ${FREESIDE_CONF} ] && mv ${FREESIDE_CONF} ${FREESIDE_CONF}.`date +%Y%m%d%H%M%S` || true - mkdir ${FREESIDE_CONF} - chown freeside ${FREESIDE_CONF} + install -d -o freeside ${FREESIDE_CONF} touch ${FREESIDE_CONF}/secrets chown freeside ${FREESIDE_CONF}/secrets @@ -185,8 +187,8 @@ clean: #these are probably only useful if you're me... upload-docs: forcehtmlman - ssh cleanwhisker.420.am rm -rf /var/www/www.sisd.com/freeside/devdocs - scp -pr httemplate/docs cleanwhisker.420.am:/var/www/www.sisd.com/freeside/devdocs + ssh pouncequick.420.am rm -rf /var/www/www.sisd.com/freeside/devdocs + scp -pr httemplate/docs pouncequick.420.am:/var/www/www.sisd.com/freeside/devdocs release: upload-docs cd /home/ivan/freeside @@ -197,7 +199,7 @@ release: upload-docs cvs export -r ${TAG} -d freeside-${VERSION} freeside tar czvf freeside-${VERSION}.tar.gz freeside-${VERSION} - scp freeside-${VERSION}.tar.gz ivan@cleanwhisker.420.am:/var/www/sisd.420.am/freeside/ + scp freeside-${VERSION}.tar.gz ivan@pouncequick.420.am:/var/www/sisd.420.am/freeside/ mv freeside-${VERSION} freeside-${VERSION}.tar.gz .. update-webdemo: