summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-01-13 23:44:20 +0000
committerjkh <jkh@FreeBSD.org>1997-01-13 23:44:20 +0000
commit058c86d9e8b4a705d2d3f2c0b52d63a2534e97e3 (patch)
tree844f9bca5adceff8ef3b9e9bb79131865afb798c
parentc18aed33913121e78ca72d0da18b8abc6a048ffb (diff)
downloadFreeBSD-src-058c86d9e8b4a705d2d3f2c0b52d63a2534e97e3.zip
FreeBSD-src-058c86d9e8b4a705d2d3f2c0b52d63a2534e97e3.tar.gz
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.
-rw-r--r--share/mk/bsd.info.mk8
1 files 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 <bsd.info.mk> 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}
OpenPOWER on IntegriCloud