Remove _manpages and _maninstall targets as they are no longer needed.
r96164 added them to avoid recursing twice with _SUBDIR. That issue was fixed in bsd.subdir.mk in r291635 for all targets. Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
f09a089ee6
commit
f1702f873d
@ -299,7 +299,7 @@ CLEANFILES+= ${_LIBS}
|
||||
.endif
|
||||
|
||||
.if ${MK_MAN} != "no" && !defined(LIBRARIES_ONLY)
|
||||
all: _manpages
|
||||
all: all-man
|
||||
.endif
|
||||
.endif
|
||||
|
||||
@ -400,8 +400,8 @@ _libinstall:
|
||||
.include <bsd.links.mk>
|
||||
|
||||
.if ${MK_MAN} != "no" && !defined(LIBRARIES_ONLY)
|
||||
realinstall: _maninstall
|
||||
.ORDER: beforeinstall _maninstall
|
||||
realinstall: maninstall
|
||||
.ORDER: beforeinstall maninstall
|
||||
.endif
|
||||
|
||||
.endif
|
||||
|
@ -71,8 +71,7 @@ MAN+= ${MAN${__sect}}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
_manpages:
|
||||
all-man: _manpages
|
||||
all-man:
|
||||
|
||||
.if ${MK_MANCOMPRESS} == "no"
|
||||
|
||||
@ -92,13 +91,13 @@ CLEANFILES+= ${MAN:T:S/$/${FILTEXTENSION}/g}
|
||||
CLEANFILES+= ${MAN:T:S/$/${CATEXT}${FILTEXTENSION}/g}
|
||||
.for __page in ${MAN}
|
||||
.for __target in ${__page:T:S/$/${FILTEXTENSION}/g}
|
||||
_manpages: ${__target}
|
||||
all-man: ${__target}
|
||||
${__target}: ${__page}
|
||||
${MANFILTER} < ${.ALLSRC} > ${.TARGET}
|
||||
.endfor
|
||||
.if defined(MANBUILDCAT) && !empty(MANBUILDCAT)
|
||||
.for __target in ${__page:T:S/$/${CATEXT}${FILTEXTENSION}/g}
|
||||
_manpages: ${__target}
|
||||
all-man: ${__target}
|
||||
${__target}: ${__page}
|
||||
${MANFILTER} < ${.ALLSRC} | ${MANDOC_CMD} > ${.TARGET}
|
||||
.endfor
|
||||
@ -111,13 +110,13 @@ CLEANFILES+= ${MAN:T:S/$/${CATEXT}/g}
|
||||
.if defined(MANBUILDCAT) && !empty(MANBUILDCAT)
|
||||
.for __page in ${MAN}
|
||||
.for __target in ${__page:T:S/$/${CATEXT}/g}
|
||||
_manpages: ${__target}
|
||||
all-man: ${__target}
|
||||
${__target}: ${__page}
|
||||
${MANDOC_CMD} ${.ALLSRC} > ${.TARGET}
|
||||
.endfor
|
||||
.endfor
|
||||
.else
|
||||
_manpages: ${MAN}
|
||||
all-man: ${MAN}
|
||||
.endif
|
||||
.endif
|
||||
.endif # defined(MANFILTER)
|
||||
@ -147,7 +146,7 @@ CLEANFILES+= ${MAN:T:S/$/${MCOMPRESS_EXT}/g}
|
||||
CLEANFILES+= ${MAN:T:S/$/${CATEXT}${MCOMPRESS_EXT}/g}
|
||||
.for __page in ${MAN}
|
||||
.for __target in ${__page:T:S/$/${MCOMPRESS_EXT}/}
|
||||
_manpages: ${__target}
|
||||
all-man: ${__target}
|
||||
${__target}: ${__page}
|
||||
.if defined(MANFILTER)
|
||||
${MANFILTER} < ${.ALLSRC} | ${MCOMPRESS_CMD} > ${.TARGET}
|
||||
@ -157,7 +156,7 @@ ${__target}: ${__page}
|
||||
.endfor
|
||||
.if defined(MANBUILDCAT) && !empty(MANBUILDCAT)
|
||||
.for __target in ${__page:T:S/$/${CATEXT}${MCOMPRESS_EXT}/}
|
||||
_manpages: ${__target}
|
||||
all-man: ${__target}
|
||||
${__target}: ${__page}
|
||||
.if defined(MANFILTER)
|
||||
${MANFILTER} < ${.ALLSRC} | ${MANDOC_CMD} | ${MCOMPRESS_CMD} > ${.TARGET}
|
||||
@ -182,10 +181,9 @@ _MANLINKS+= ${CATDIR}${_osect}${MANSUBDIR}/${_oname} \
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
maninstall: _maninstall
|
||||
_maninstall:
|
||||
maninstall:
|
||||
.if defined(MAN) && !empty(MAN)
|
||||
_maninstall: ${MAN}
|
||||
maninstall: ${MAN}
|
||||
.if ${MK_MANCOMPRESS} == "no"
|
||||
.if defined(MANFILTER)
|
||||
.for __page in ${MAN}
|
||||
|
@ -150,7 +150,7 @@ all:
|
||||
.else
|
||||
all: ${PROG} ${SCRIPTS}
|
||||
.if ${MK_MAN} != "no"
|
||||
all: _manpages
|
||||
all: all-man
|
||||
.endif
|
||||
.endif
|
||||
|
||||
@ -258,8 +258,8 @@ NLSNAME?= ${PROG}
|
||||
.include <bsd.links.mk>
|
||||
|
||||
.if ${MK_MAN} != "no"
|
||||
realinstall: _maninstall
|
||||
.ORDER: beforeinstall _maninstall
|
||||
realinstall: maninstall
|
||||
.ORDER: beforeinstall maninstall
|
||||
.endif
|
||||
|
||||
.endif # !target(install)
|
||||
|
Loading…
Reference in New Issue
Block a user