Deleted Added
sdiff udiff text old ( 17831 ) new ( 18314 )
full compact
1# $Id: bsd.man.mk,v 1.14 1996/08/11 12:31:57 peter Exp $
2#
3# The include file <bsd.man.mk> handles installing manual pages and
4# their links. <bsd.man.mk> includes the file named "../Makefile.inc"
5# if it exists.
6#
7#
8# +++ variables +++
9#

--- 58 unchanged lines hidden (view full) ---

68.endif
69.endfor
70
71all-man: ${MANDEPEND}
72
73.if defined(NOMANCOMPRESS)
74
75COPY= -c
76ZEXT=
77
78.if defined(MANFILTER)
79.for sect in ${SECTIONS}
80.if defined(MAN${sect}) && !empty(MAN${sect})
81CLEANFILES+= ${MAN${sect}}
82.for page in ${MAN${sect}}
83.for target in ${page}
84all-man: ${target}
85${target}: ${page}
86 ${MANFILTER} < ${.ALLSRC} > ${.TARGET}
87.endfor
88.endfor
89.endif
90.endfor
91.endif

--- 21 unchanged lines hidden (view full) ---

113
114.endif
115
116maninstall::
117.for sect in ${SECTIONS}
118.if defined(MAN${sect}) && !empty(MAN${sect})
119maninstall:: ${MAN${sect}}
120.if defined(NOMANCOMPRESS)
121 ${MINSTALL} ${.ALLSRC} ${DESTDIR}${MANDIR}${sect}${MANSUBDIR}
122.else
123 ${MINSTALL} ${.ALLSRC:T:S/$/${ZEXTENSION}/g} \
124 ${DESTDIR}${MANDIR}${sect}${MANSUBDIR}
125.endif
126.endif
127.endfor
128
129.if defined(MLINKS) && !empty(MLINKS)

--- 15 unchanged lines hidden ---