X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=Makefile;h=33bb57bd5aabdc7595e1ddb523f03c2a55511aa1;hb=65efe8eb9ee8bb02deb776da0897e25d821b4f65;hp=0bd47041253159ee33c2977100081678c54d522e;hpb=233ef9c25931dd63e690b402dcbeb1df275e540d;p=freeside.git diff --git a/Makefile b/Makefile index 0bd470412..33bb57bd5 100644 --- a/Makefile +++ b/Makefile @@ -88,7 +88,7 @@ QUEUED_USER=fs_queue SELFSERVICE_USER = fs_selfservice #never run on the same machine in production!!! -SELFSERVICE_MACHINES = localhost +SELFSERVICE_MACHINES = # SELFSERVICE_MACHINES = www.example.com # SELFSERVICE_MACHINES = web1.example.com web2.example.com @@ -128,6 +128,8 @@ TAG=freeside_1_9_0 DEBVERSION = `echo ${VERSION} | perl -pe 's/(\d)([a-z])/\1~\2/'`-1 +TEXMFHOME := "\$$TEXMFHOME" + help: @echo "supported targets:" @echo " create-database create-config" @@ -199,6 +201,9 @@ perl-modules: s|%%%FREESIDE_EXPORT%%%|${FREESIDE_EXPORT}|g;\ " blib/lib/FS/part_export/*.pm;\ perl -p -i -e "\ + s|%%%FREESIDE_CACHE%%%|${FREESIDE_CACHE}|g;\ + " blib/lib/FS/cust_main/*.pm;\ + perl -p -i -e "\ s|%%%FREESIDE_CONF%%%|${FREESIDE_CONF}|g;\ s|%%%FREESIDE_LOG%%%|${FREESIDE_LOG}|g;\ s|%%%FREESIDE_LOCK%%%|${FREESIDE_LOCK}|g;\ @@ -228,6 +233,11 @@ dev-perl-modules: perl-modules rm -rf ${PERL_INC_DEV_KLUDGE}/FS ln -sf ${FREESIDE_PATH}/FS/blib/lib/FS ${PERL_INC_DEV_KLUDGE}/FS +install-texmf: + install -D -o freeside -m 444 etc/fslongtable.sty \ + `kpsewhich -expand-var \\\$$TEXMFLOCAL`/tex/generic/fslongtable.sty + texhash `kpsewhich -expand-var \\\$$TEXMFLOCAL` + install-init: #[ -e ${INIT_FILE} ] || install -o root -g ${INSTALLGROUP} -m 711 init.d/freeside-init ${INIT_FILE} install -o root -g ${INSTALLGROUP} -m 711 init.d/freeside-init ${INIT_FILE} @@ -269,7 +279,7 @@ 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: install-perl-modules install-docs install-init install-apache install-rt install-texmf deploy: install ${HTTPD_RESTART}