bsd.info.mk (115205) | bsd.info.mk (125119) |
---|---|
1# $FreeBSD: head/share/mk/bsd.info.mk 115205 2003-05-21 12:58:28Z ru $ | 1# $FreeBSD: head/share/mk/bsd.info.mk 125119 2004-01-27 23:22:15Z ru $ |
2# 3# The include file <bsd.info.mk> handles installing GNU (tech)info files. 4# Texinfo is a documentation system that uses a single source 5# file to produce both on-line information and printed output. 6# 7# 8# +++ variables +++ 9# --- 145 unchanged lines hidden (view full) --- 155 156.if defined(SRCS) 157CLEANFILES+= ${INFO}.texi 158${INFO}.texi: ${SRCS} 159 cat ${.ALLSRC} > ${.TARGET} 160.endif 161 162# tex garbage | 2# 3# The include file <bsd.info.mk> handles installing GNU (tech)info files. 4# Texinfo is a documentation system that uses a single source 5# file to produce both on-line information and printed output. 6# 7# 8# +++ variables +++ 9# --- 145 unchanged lines hidden (view full) --- 155 156.if defined(SRCS) 157CLEANFILES+= ${INFO}.texi 158${INFO}.texi: ${SRCS} 159 cat ${.ALLSRC} > ${.TARGET} 160.endif 161 162# tex garbage |
163.if ${FORMATS:Mps} || ${FORMATS:Mdvi} || ${FORMATS:Mlatin1} | 163.if !empty(FORMATS:Mps) || !empty(FORMATS:Mdvi) || !empty(FORMATS:Mlatin1) |
164.for _f in aux cp fn ky log out pg toc tp vr dvi 165CLEANFILES+= ${INFO:S/$/.${_f}/} ${INFO:S/$/-la.${_f}/} 166.endfor 167CLEANFILES+= ${INFO:S/$/-la.texi/} 168.endif 169 | 164.for _f in aux cp fn ky log out pg toc tp vr dvi 165CLEANFILES+= ${INFO:S/$/.${_f}/} ${INFO:S/$/-la.${_f}/} 166.endfor 167CLEANFILES+= ${INFO:S/$/-la.texi/} 168.endif 169 |
170.if ${FORMATS:Mhtml} | 170.if !empty(FORMATS:Mhtml) |
171CLEANFILES+= ${INFO:S/$/.info.*.html/} ${INFO:S/$/.info/} 172.endif 173 174.if !defined(NOINFO) && defined(INFO) 175install: ${INSTALLINFODIRS} | 171CLEANFILES+= ${INFO:S/$/.info.*.html/} ${INFO:S/$/.info/} 172.endif 173 174.if !defined(NOINFO) && defined(INFO) 175install: ${INSTALLINFODIRS} |
176.if ${IFILES:N*.html} | 176.if !empty(IFILES:N*.html) |
177 ${INSTALL} -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \ 178 ${IFILES:N*.html} ${DESTDIR}${INFODIR} 179.endif | 177 ${INSTALL} -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \ 178 ${IFILES:N*.html} ${DESTDIR}${INFODIR} 179.endif |
180.if ${FORMATS:Mhtml} | 180.if !empty(FORMATS:Mhtml) |
181 ${INSTALL} -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \ 182 ${INFO:S/$/.info.*.html/} ${DESTDIR}${INFODIR} 183.endif 184.else 185# The indirection in the following is to avoid the null install rule 186# "install:" from being overridden by the implicit .sh rule if there 187# happens to be a source file named install.sh. This assumes that there 188# is no source file named __null_install.sh. 189install: __null_install 190__null_install: 191.endif 192 193.include <bsd.obj.mk> | 181 ${INSTALL} -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \ 182 ${INFO:S/$/.info.*.html/} ${DESTDIR}${INFODIR} 183.endif 184.else 185# The indirection in the following is to avoid the null install rule 186# "install:" from being overridden by the implicit .sh rule if there 187# happens to be a source file named install.sh. This assumes that there 188# is no source file named __null_install.sh. 189install: __null_install 190__null_install: 191.endif 192 193.include <bsd.obj.mk> |