From 058c86d9e8b4a705d2d3f2c0b52d63a2534e97e3 Mon Sep 17 00:00:00 2001 From: jkh Date: Mon, 13 Jan 1997 23:44:20 +0000 Subject: Make sure dir file exists before we call install-info, which requires it. Sorry, I know it's a gross fix to call share/info's install target as a side-effect, but that's less gross than propagating the work-around changes to files which have nothing to do with the info system. --- share/mk/bsd.info.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/share/mk/bsd.info.mk b/share/mk/bsd.info.mk index d664ecf..69b95ba 100644 --- a/share/mk/bsd.info.mk +++ b/share/mk/bsd.info.mk @@ -1,4 +1,4 @@ -# $Id$ +# $Id: bsd.info.mk,v 1.27 1997/01/12 16:20:13 wosch Exp $ # # The include file handles installing GNU (tech)info files. # Texinfo is a documentation system that uses a single source @@ -109,9 +109,13 @@ ${x:S/$/.gz/}: ${x} ${GZIPCMD} -c ${.ALLSRC} > ${.TARGET} .endfor +# What to do if there's no dir file there. This is really gross!!! +${DESTDIR}${INFODIR}/${INFODIRFILE}: + @(cd /usr/src/share/info; make install) + .for x in ${INFO} INSTALLINFODIRS+= ${x:S/$/-install/} -${x:S/$/-install/}: +${x:S/$/-install/}: ${DESTDIR}${INFODIR}/${INFODIRFILE} ${INSTALLINFO} --defsection=${INFOSECTION} \ --defentry=${INFOENTRY_${x}} \ ${x}.info ${DESTDIR}${INFODIR}/${INFODIRFILE} -- cgit v1.1