If the MANSECT variable is specified, it will override the default
manual section. If, for example, MANSECT is set to 8, the default MAN1=${PROG}.1 feature of bsd.prog.mk becomes MAN8=${PROG}.8. Useful for games, libexec, sbin and usr.sbin subtrees. Reviewed by: bde
This commit is contained in:
parent
85ae580ccb
commit
6b10ad2220
@ -60,7 +60,10 @@ ${PROG}: ${OBJS}
|
||||
!defined(MAN4) && !defined(MAN5) && !defined(MAN6) && \
|
||||
!defined(MAN7) && !defined(MAN8) && !defined(MAN9) && \
|
||||
!defined(NOMAN) && !defined(MAN1aout)
|
||||
MAN1= ${PROG}.1
|
||||
MANSECT?= 1
|
||||
.for sect in ${MANSECT}
|
||||
MAN${sect}= ${PROG}.${sect}
|
||||
.endfor
|
||||
.endif
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user