- Make sure html / man-pages do not get installed if the OPTION was unset

Submitted by:	QAT
This commit is contained in:
Pietro Cerutti 2013-05-03 10:48:58 +00:00
parent 7b58894aac
commit e937877b53
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317192

View file

@ -33,6 +33,8 @@ INSTALL_ARGS= -pkgs -pkg-path ${PREFIX}/lib/tcllib \
ALL_TARGET+= nroff-doc
INSTALL_ARGS+= -nroff-path ${MANPREFIX}/man/mann
.include "Makefile.man"
.else
INSTALL_ARGS+= -no-nroff
.endif
#
@ -41,6 +43,8 @@ INSTALL_ARGS+= -nroff-path ${MANPREFIX}/man/mann
.if ${PORT_OPTIONS:MDOCS}
ALL_TARGET+= html-doc
INSTALL_ARGS+= -html-path ${DOCSDIR}
.else
INSTALL_ARGS+= -no-html
.endif
post-patch: