X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=Makefile;h=54417474c7b1b70e7cedde2d29709c9542969cad;hp=440215856821a7c56c2c8474c080b33650239463;hb=c04ccc32b86d5a05afcb24a6081c4b068d315d40;hpb=8f43944bd20c53aa0cb5110df344acd6323d4fe5 diff --git a/Makefile b/Makefile index 440215856..54417474c 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 -IFS -MFS::Misc::Pod2Html -e "FS::Misc::Pod2Html::fs_pod2html_from_src('${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}