diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1997-03-12 07:14:44 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1997-03-12 07:14:44 +0000 |
| commit | 4c987fb1a76ed22a709b61bfdfe2de02d9f67e61 (patch) | |
| tree | f611fec7a86af7b04c6daffea656d1d5cdae763e | |
| parent | a53988f8313b16b8202c5d38282da9ab61fe8b08 (diff) | |
Notes
| -rw-r--r-- | share/mk/bsd.info.mk | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/share/mk/bsd.info.mk b/share/mk/bsd.info.mk index b251f2753ab7..ca88da4127bb 100644 --- a/share/mk/bsd.info.mk +++ b/share/mk/bsd.info.mk @@ -1,4 +1,4 @@ -# $Id: bsd.info.mk,v 1.32 1997/03/08 23:46:53 wosch Exp $ +# $Id: bsd.info.mk,v 1.33 1997/03/12 06:24:52 peter Exp $ # # The include file <bsd.info.mk> handles installing GNU (tech)info files. # Texinfo is a documentation system that uses a single source @@ -83,10 +83,14 @@ ICOMPRESS_EXT?= ${COMPRESS_EXT} .MAIN: all .SUFFIXES: ${ICOMPRESS_EXT} .info .texi .texinfo + .texi.info: - ${MAKEINFO} ${MAKEINFOFLAGS} -I ${.CURDIR} -I ${SRCDIR} ${.IMPSRC} -o ${.TARGET} + ${MAKEINFO} ${MAKEINFOFLAGS} -I ${.CURDIR} -I ${SRCDIR} ${.IMPSRC} -o ${.TARGET}.new + mv -f ${.TARGET}.new ${.TARGET} + .texinfo.info: - ${MAKEINFO} ${MAKEINFOFLAGS} -I ${.CURDIR} -I ${SRCDIR} ${.IMPSRC} -o ${.TARGET} + ${MAKEINFO} ${MAKEINFOFLAGS} -I ${.CURDIR} -I ${SRCDIR} ${.IMPSRC} -o ${.TARGET}.new + mv -f ${.TARGET}.new ${.TARGET} .PATH: ${.CURDIR} ${SRCDIR} @@ -136,7 +140,8 @@ distribute: _SUBDIR .if defined(SRCS) ${INFO}.info: ${SRCS} - ${MAKEINFO} ${MAKEINFOFLAGS} -I ${.CURDIR} -I ${SRCDIR} ${SRCS:S/^/${SRCDIR}\//g} -o ${INFO}.info + ${MAKEINFO} ${MAKEINFOFLAGS} -I ${.CURDIR} -I ${SRCDIR} ${SRCS:S/^/${SRCDIR}\//g} -o ${INFO}.info.new + mv -f ${INFO}.info.new ${INFO}.info .endif depend: _SUBDIR |
