bsd.man.mk (e653b48c80fb85b2a10372d664a4b55dbdc51dae) | bsd.man.mk (9a9bc31fbb30993bbc6e6ae231bac999f82dae6c) |
---|---|
1# $FreeBSD$ 2# 3# The include file <bsd.man.mk> handles installing manual pages and 4# their links. 5# 6# 7# +++ variables +++ 8# --- 19 unchanged lines hidden (view full) --- 28# MLINKS List of manual page links (using a suffix). The 29# linked-to file must come first, the linked file 30# second, and there may be multiple pairs. The files 31# are hard-linked. 32# 33# NO_MANCOMPRESS If you do not want unformatted manual pages to be 34# compressed when they are installed. [not set] 35# | 1# $FreeBSD$ 2# 3# The include file <bsd.man.mk> handles installing manual pages and 4# their links. 5# 6# 7# +++ variables +++ 8# --- 19 unchanged lines hidden (view full) --- 28# MLINKS List of manual page links (using a suffix). The 29# linked-to file must come first, the linked file 30# second, and there may be multiple pairs. The files 31# are hard-linked. 32# 33# NO_MANCOMPRESS If you do not want unformatted manual pages to be 34# compressed when they are installed. [not set] 35# |
36# NOMLINKS If you do not want install manual page links. [not set] | 36# NO_MLINKS If you do not want install manual page links. [not set] |
37# 38# MANFILTER command to pipe the raw man page through before compressing 39# or installing. Can be used to do sed substitution. 40# 41# MANBUILDCAT create preformatted manual pages in addition to normal 42# pages. [not set] 43# 44# MROFF_CMD command and flags to create preformatted pages --- 153 unchanged lines hidden (view full) --- 198.if defined(MANBUILDCAT) && !empty(MANBUILDCAT) 199 ${MINSTALL} ${page:T:S/$/${CATEXT}${MCOMPRESS_EXT}/g} \ 200 ${DESTDIR}${CATDIR}${page:E}${MANSUBDIR}/${page:T:S/$/${MCOMPRESS_EXT}/} 201.endif 202.endfor 203.endif 204.endif 205 | 37# 38# MANFILTER command to pipe the raw man page through before compressing 39# or installing. Can be used to do sed substitution. 40# 41# MANBUILDCAT create preformatted manual pages in addition to normal 42# pages. [not set] 43# 44# MROFF_CMD command and flags to create preformatted pages --- 153 unchanged lines hidden (view full) --- 198.if defined(MANBUILDCAT) && !empty(MANBUILDCAT) 199 ${MINSTALL} ${page:T:S/$/${CATEXT}${MCOMPRESS_EXT}/g} \ 200 ${DESTDIR}${CATDIR}${page:E}${MANSUBDIR}/${page:T:S/$/${MCOMPRESS_EXT}/} 201.endif 202.endfor 203.endif 204.endif 205 |
206.if !defined(NOMLINKS) && defined(MLINKS) && !empty(MLINKS) | 206.if !defined(NO_MLINKS) && defined(MLINKS) && !empty(MLINKS) |
207 @set ${MLINKS:C/\.([^.]*)$/.\1 \1/}; \ 208 while : ; do \ 209 case $$# in \ 210 0) break;; \ 211 [123]) echo "warn: empty MLINK: $$1 $$2 $$3"; break;; \ 212 esac; \ 213 name=$$1; shift; sect=$$1; shift; \ 214 l=${DESTDIR}${MANDIR}$${sect}${MANSUBDIR}/$$name; \ --- 36 unchanged lines hidden --- | 207 @set ${MLINKS:C/\.([^.]*)$/.\1 \1/}; \ 208 while : ; do \ 209 case $$# in \ 210 0) break;; \ 211 [123]) echo "warn: empty MLINK: $$1 $$2 $$3"; break;; \ 212 esac; \ 213 name=$$1; shift; sect=$$1; shift; \ 214 l=${DESTDIR}${MANDIR}$${sect}${MANSUBDIR}/$$name; \ --- 36 unchanged lines hidden --- |