summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorjeff <jeff>2008-12-29 18:06:22 +0000
committerjeff <jeff>2008-12-29 18:06:22 +0000
commit1bbefca3f6dd3f392a99068e1e0e0aeb52efda63 (patch)
tree48aa6f213735060d5e6ebd261e55f00a154d7f95 /Makefile
parent9e8206dc6a253409671e6d5c904b2d5189b18a86 (diff)
ease deployment of patched longtable
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a0e83b4d1..62d5c1147 100644
--- a/Makefile
+++ b/Makefile
@@ -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"
@@ -231,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}
@@ -272,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}