bsd.info.mk (125119) | bsd.info.mk (139106) |
---|---|
1# $FreeBSD: head/share/mk/bsd.info.mk 125119 2004-01-27 23:22:15Z ru $ | 1# $FreeBSD: head/share/mk/bsd.info.mk 139106 2004-12-21 09:33:47Z 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# --- 38 unchanged lines hidden (view full) --- 48# 49# INSTALLINFODIRS ??? 50# 51# MAKEINFO A program for converting GNU Texinfo files into Info 52# file. [makeinfo] 53# 54# MAKEINFOFLAGS Options for ${MAKEINFO} command. [--no-split] 55# | 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# --- 38 unchanged lines hidden (view full) --- 48# 49# INSTALLINFODIRS ??? 50# 51# MAKEINFO A program for converting GNU Texinfo files into Info 52# file. [makeinfo] 53# 54# MAKEINFOFLAGS Options for ${MAKEINFO} command. [--no-split] 55# |
56# NOINFO Do not make or install info files. [not set] | 56# NO_INFO Do not make or install info files. [not set] |
57# | 57# |
58# NOINFOCOMPRESS If you do not want info files be | 58# NO_INFOCOMPRESS If you do not want info files be |
59# compressed when they are installed. [not set] 60# 61# TEX A program for converting tex files into dvi files [tex] 62# 63# 64# +++ targets +++ 65# 66# install: --- 51 unchanged lines hidden (view full) --- 118 ln -f ${.TARGET:R}.info.Top.html ${.TARGET} 119 120.PATH: ${.CURDIR} ${SRCDIR} 121 122.for _f in ${FORMATS} 123IFILENS+= ${INFO:S/$/.${_f}/} 124.endfor 125 | 59# compressed when they are installed. [not set] 60# 61# TEX A program for converting tex files into dvi files [tex] 62# 63# 64# +++ targets +++ 65# 66# install: --- 51 unchanged lines hidden (view full) --- 118 ln -f ${.TARGET:R}.info.Top.html ${.TARGET} 119 120.PATH: ${.CURDIR} ${SRCDIR} 121 122.for _f in ${FORMATS} 123IFILENS+= ${INFO:S/$/.${_f}/} 124.endfor 125 |
126.if !defined(NOINFO) | 126.if !defined(NO_INFO) |
127CLEANFILES+= ${IFILENS} | 127CLEANFILES+= ${IFILENS} |
128.if !defined(NOINFOCOMPRESS) | 128.if !defined(NO_INFOCOMPRESS) |
129CLEANFILES+= ${IFILENS:S/$/${ICOMPRESS_EXT}/} 130IFILES= ${IFILENS:S/$/${ICOMPRESS_EXT}/:S/.html${ICOMPRESS_EXT}/.html/} 131all: ${IFILES} 132.else 133IFILES= ${IFILENS} 134all: ${IFILES} 135.endif 136.else --- 29 unchanged lines hidden (view full) --- 166.endfor 167CLEANFILES+= ${INFO:S/$/-la.texi/} 168.endif 169 170.if !empty(FORMATS:Mhtml) 171CLEANFILES+= ${INFO:S/$/.info.*.html/} ${INFO:S/$/.info/} 172.endif 173 | 129CLEANFILES+= ${IFILENS:S/$/${ICOMPRESS_EXT}/} 130IFILES= ${IFILENS:S/$/${ICOMPRESS_EXT}/:S/.html${ICOMPRESS_EXT}/.html/} 131all: ${IFILES} 132.else 133IFILES= ${IFILENS} 134all: ${IFILES} 135.endif 136.else --- 29 unchanged lines hidden (view full) --- 166.endfor 167CLEANFILES+= ${INFO:S/$/-la.texi/} 168.endif 169 170.if !empty(FORMATS:Mhtml) 171CLEANFILES+= ${INFO:S/$/.info.*.html/} ${INFO:S/$/.info/} 172.endif 173 |
174.if !defined(NOINFO) && defined(INFO) | 174.if !defined(NO_INFO) && defined(INFO) |
175install: ${INSTALLINFODIRS} 176.if !empty(IFILES:N*.html) 177 ${INSTALL} -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \ 178 ${IFILES:N*.html} ${DESTDIR}${INFODIR} 179.endif 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> | 175install: ${INSTALLINFODIRS} 176.if !empty(IFILES:N*.html) 177 ${INSTALL} -o ${INFOOWN} -g ${INFOGRP} -m ${INFOMODE} \ 178 ${IFILES:N*.html} ${DESTDIR}${INFODIR} 179.endif 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> |