summaryrefslogtreecommitdiffstats
path: root/share/mk
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-04-30 16:33:43 +0000
committerbde <bde@FreeBSD.org>1997-04-30 16:33:43 +0000
commit335b2fc8d1b2cfc64e4ead3f49e9f5944c817b1a (patch)
treed270ff03283dcdfba7b470e62f65504b905837e4 /share/mk
parent3c6902cf3bda0525d4b29a32a1d7c2a833ffb76a (diff)
downloadFreeBSD-src-335b2fc8d1b2cfc64e4ead3f49e9f5944c817b1a.zip
FreeBSD-src-335b2fc8d1b2cfc64e4ead3f49e9f5944c817b1a.tar.gz
Removed gross dir file bootstrap rule. Keep depending on the dir
file so that we fail if it isn't already installed. The bootstrap is now done by `make install' in the top-level src directory. As well as being gross, the rule didn't actually work for src trees other than /usr/src, and this is difficult to fix since the whole src tree may not exist.
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.info.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/share/mk/bsd.info.mk b/share/mk/bsd.info.mk
index e174aa2..dfbb4cd 100644
--- a/share/mk/bsd.info.mk
+++ b/share/mk/bsd.info.mk
@@ -1,4 +1,4 @@
-# $Id: bsd.info.mk,v 1.35 1997/03/29 12:39:52 peter Exp $
+# $Id: bsd.info.mk,v 1.36 1997/04/07 16:46:40 bde Exp $
#
# The include file <bsd.info.mk> handles installing GNU (tech)info files.
# Texinfo is a documentation system that uses a single source
@@ -123,6 +123,10 @@ ${x:S/$/${ICOMPRESS_EXT}/}: ${x}
${DESTDIR}${INFODIR}/${INFODIRFILE}:
cd /usr/src/share/info; ${MAKE} install
+# 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/}: ${DESTDIR}${INFODIR}/${INFODIRFILE}
OpenPOWER on IntegriCloud