bsd.man.mk (862d3deac620d000fd657c2b2287305e7f800458) | bsd.man.mk (09fa52f83f1a26013acb3f4a95a15d72a99ac136) |
---|---|
1# $FreeBSD$ 2# 3# The include file <bsd.man.mk> handles installing manual pages and 4# their links. 5# 6# 7# +++ variables +++ 8# --- 44 unchanged lines hidden (view full) --- 53 54CATDIR= ${MANDIR:H:S/$/\/cat/} 55CATEXT= .cat 56MROFF_CMD?= groff -Tascii -man 57 58MCOMPRESS_CMD?= ${COMPRESS_CMD} 59MCOMPRESS_EXT?= ${COMPRESS_EXT} 60 | 1# $FreeBSD$ 2# 3# The include file <bsd.man.mk> handles installing manual pages and 4# their links. 5# 6# 7# +++ variables +++ 8# --- 44 unchanged lines hidden (view full) --- 53 54CATDIR= ${MANDIR:H:S/$/\/cat/} 55CATEXT= .cat 56MROFF_CMD?= groff -Tascii -man 57 58MCOMPRESS_CMD?= ${COMPRESS_CMD} 59MCOMPRESS_EXT?= ${COMPRESS_EXT} 60 |
61SECTIONS= 1 1aout 2 3 4 5 6 7 8 9 n | 61SECTIONS= 1 1aout 2 3 4 5 6 7 8 9 62.SUFFIXES: ${SECTIONS:S/^/./g} |
62 | 63 |
63.for sect in ${SECTIONS} 64.SUFFIXES: .${sect} 65 | |
66# Backwards compatibility. | 64# Backwards compatibility. |
65.if !defined(MAN) 66.for sect in ${SECTIONS} |
|
67.if defined(MAN${sect}) && !empty(MAN${sect}) 68MAN+= ${MAN${sect}} 69.endif | 67.if defined(MAN${sect}) && !empty(MAN${sect}) 68MAN+= ${MAN${sect}} 69.endif |
70 | |
71.endfor | 70.endfor |
71.endif |
|
72 73all-man: 74 75.if defined(NOMANCOMPRESS) 76 77COPY= -c 78 79# Make special arrangements to filter to a temporary file at build time --- 152 unchanged lines hidden --- | 72 73all-man: 74 75.if defined(NOMANCOMPRESS) 76 77COPY= -c 78 79# Make special arrangements to filter to a temporary file at build time --- 152 unchanged lines hidden --- |