summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMitch Jackson <mitch@freeside.biz>2019-02-01 01:49:33 -0500
committerMitch Jackson <mitch@freeside.biz>2019-02-01 01:49:33 -0500
commit9a74b15fe926c37f00added2d034d34bf6c95d7f (patch)
tree913fbacb0ac3693840d1ebfa0e489869acfbaed4 /Makefile
parent911ad81c95f3ed15f84d926a93e12185c2c073a6 (diff)
RT# 81961 Include HTML for POD documentation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d773aa367..301dc4132 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
@@ -328,7 +330,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}