diff options
author | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2013-07-01 13:50:40 +0000 |
---|---|---|
committer | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2013-07-01 13:50:40 +0000 |
commit | bd95f440ef0c9ff5b754d94b1d51b899092c8496 (patch) | |
tree | 00546fbc2efb0728477b0ade749954fefa090977 | |
parent | 790d3881b91dcf59b8b0b188f41747470aef1cd6 (diff) |
Properly substitute paths in the info file like it was done with the man
pages.
ok espie@
-rw-r--r-- | kerberosV/doc/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/kerberosV/doc/Makefile b/kerberosV/doc/Makefile index 88c83ca8193..583c21631ca 100644 --- a/kerberosV/doc/Makefile +++ b/kerberosV/doc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2013/06/21 17:04:01 robert Exp $ +# $OpenBSD: Makefile,v 1.11 2013/07/01 13:50:39 ajacoutot Exp $ KINFOSRC = ${.CURDIR}/../src/doc KINFODIR = ${DESTDIR}${SHAREDIR}/info @@ -15,7 +15,11 @@ SRCS = heimdal.texi intro.texi whatis.texi install.texi setup.texi apps.texi \ all: ${INFO} heimdal.info: ${SRCS} - ${MAKEINFO} --no-split -I${KINFOSRC} -o ${.TARGET} ${KINFOSRC}/heimdal.texi +.for t in ${SRCS} + sed -f ${.CURDIR}/../varsub ${KINFOSRC}/${t} > ${.OBJDIR}/${t}.tmp && \ + mv ${.OBJDIR}/${t}.tmp ${.OBJDIR}/${t} +.endfor + ${MAKEINFO} --no-split -I${KINFOSRC} -o ${.TARGET} ${.OBJDIR}/heimdal.texi install: ${INFO} ${INSTALL} ${INSTALL_COPY} -m ${DOCMODE} -o ${DOCOWN} -g ${DOCGRP} ${.OBJDIR}/${INFO} ${KINFODIR} |