X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=Makefile;h=d815c44ed7f1fd7532067451389e6544abdf09da;hp=864fee6b9f46c59c2efec0ef2882ee8ea23e2811;hb=3f2a7b01b59902faed5767d81e2959e131bdbdfd;hpb=1f0d70b0b4e3149ac515f20fbfa6da2a3254e07a diff --git a/Makefile b/Makefile index 864fee6b9..d815c44ed 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 @@ -129,7 +131,7 @@ RT_PATH = /opt/rt3 #only used for dev kludge now, not a big deal FREESIDE_PATH = `pwd` -PERL_INC_DEV_KLUDGE = /usr/local/share/perl/5.22.1/ +PERL_INC_DEV_KLUDGE = /usr/local/share/perl/5.24.1/ VERSION := `grep '^$$VERSION' FS/FS.pm | cut -d\' -f2` TAG := freeside_`grep '^$$VERSION' FS/FS.pm | cut -d\' -f2 | perl -pe 's/\./_/g'` @@ -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 -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}