- Make sure html / man-pages do not get installed if the OPTION was unset
Submitted by: QAT
This commit is contained in:
parent
7b58894aac
commit
e937877b53
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317192
1 changed files with 4 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue