- Removed `n' from the list of manpage sections.

- Only support the old syntax for manpage declarations
  (MAN1...MAN9) if no MAN is defined.
This commit is contained in:
Ruslan Ermilov 2001-03-28 14:58:08 +00:00
parent 37c9e8eebd
commit 09fa52f83f

View File

@ -58,17 +58,17 @@ MROFF_CMD?= groff -Tascii -man
MCOMPRESS_CMD?= ${COMPRESS_CMD} MCOMPRESS_CMD?= ${COMPRESS_CMD}
MCOMPRESS_EXT?= ${COMPRESS_EXT} MCOMPRESS_EXT?= ${COMPRESS_EXT}
SECTIONS= 1 1aout 2 3 4 5 6 7 8 9 n SECTIONS= 1 1aout 2 3 4 5 6 7 8 9
.SUFFIXES: ${SECTIONS:S/^/./g}
.for sect in ${SECTIONS}
.SUFFIXES: .${sect}
# Backwards compatibility. # Backwards compatibility.
.if !defined(MAN)
.for sect in ${SECTIONS}
.if defined(MAN${sect}) && !empty(MAN${sect}) .if defined(MAN${sect}) && !empty(MAN${sect})
MAN+= ${MAN${sect}} MAN+= ${MAN${sect}}
.endif .endif
.endfor .endfor
.endif
all-man: all-man: