- 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_EXT?= ${COMPRESS_EXT}
SECTIONS= 1 1aout 2 3 4 5 6 7 8 9 n
.for sect in ${SECTIONS}
.SUFFIXES: .${sect}
SECTIONS= 1 1aout 2 3 4 5 6 7 8 9
.SUFFIXES: ${SECTIONS:S/^/./g}
# Backwards compatibility.
.if !defined(MAN)
.for sect in ${SECTIONS}
.if defined(MAN${sect}) && !empty(MAN${sect})
MAN+= ${MAN${sect}}
.endif
.endfor
.endif
all-man: