Remove MK_INFO guards in bsd.info.mk per r276556

As a side-effect now info pages will always be built/installed if
MK_INFO == yes, whereas before their presence was conditional based on the
value of MK_INFO

This .mk file might be removed in the future, pending discussion on -arch. For
now unbreak its use outside of src (with the only use in ports according to
bapt being devel/cvs*)

X-MFC with: r276551, r276556
Reviewed by: bapt
Differential Revision: D1413
This commit is contained in:
Enji Cooper 2015-01-02 22:55:30 +00:00
parent d79f904ad2
commit 082d009909
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=276592

View File

@ -121,7 +121,6 @@ DVIPS2ASCII?= dvips2ascii
IFILENS+= ${INFO:S/$/.${_f}/}
.endfor
.if ${MK_INFO} != "no"
CLEANFILES+= ${IFILENS}
.if !defined(NO_INFOCOMPRESS)
CLEANFILES+= ${IFILENS:S/$/${ICOMPRESS_EXT}/}
@ -131,9 +130,6 @@ all: ${IFILES}
IFILES= ${IFILENS}
all: ${IFILES}
.endif
.else
all:
.endif
.for x in ${IFILENS}
${x:S/$/${ICOMPRESS_EXT}/}: ${x}
@ -177,7 +173,7 @@ CLEANFILES+= ${INFO:S/$/-la.texi/}
CLEANFILES+= ${INFO:S/$/.info.*.html/} ${INFO:S/$/.info/}
.endif
.if ${MK_INFO} != "no" && defined(INFO)
.if defined(INFO)
install: ${INSTALLINFODIRS}
.if !empty(IFILES:N*.html)
${INSTALL} -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \