X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=Makefile;h=8c5e0b5598a30aec6e73a0ec71de963c9c44ea2e;hp=440215856821a7c56c2c8474c080b33650239463;hb=318824bc9f4615ef9320e436604da63e33f900d4;hpb=3c4047ce98ad178238c4910edf796c867eb07c44 diff --git a/Makefile b/Makefile index 440215856..8c5e0b559 100644 --- a/Makefile +++ b/Makefile @@ -49,6 +49,8 @@ FREESIDE_DOCUMENT_ROOT := $(shell [ ${APACHE_VERSION} = '2.4' ] && echo '/var/ww #apache #FREESIDE_DOCUMENT_ROOT = /usr/local/apache/htdocs/freeside +POD2HTML_DIR = ${FREESIDE_DOCUMENT_ROOT}/docs/library + #deb, redhat, fedora, mandrake, suse, others? INIT_FILE = /etc/init.d/freeside #freebsd @@ -327,7 +329,13 @@ install-chown: 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 +install-pod2html: + echo "${POD2HTML_DIR}" + mkdir -p "${POD2HTML_DIR}" + perl bin/pod2html.pl "${POD2HTML_DIR}" + chown freeside:freeside -R "${POD2HTML_DIR}" + +install: install-perl-modules install-docs install-init install-apache install-rt install-torrus install-texmf install-chown install-pod2html deploy: install ${HTTPD_RESTART}