Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 1997 03:01:11 -0800
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-gnu@freefall.freebsd.org, jkh@freefall.freebsd.org
Subject:   Re: cvs commit: src/gnu/usr.bin/texinfo/install-info Makefile 
Message-ID:  <23432.853153271@time.cdrom.com>
In-Reply-To: Your message of "Mon, 13 Jan 1997 21:25:54 %2B1100." <199701131025.VAA15118@godzilla.zeta.org.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Er, it's done in /usr/share/info.  Since texinfo is bootstrapped and
> the dir file isn't, the build always falls over at texinfo if the dir
> file doesn't exist.

Erm, OK - the light of comprehension now dawns.  Feh.  I can fix this
in bsd.info.mk, but it's going to take a gross direct reference to
/usr/src/share/info, e.g.:

--- bsd.info.mk	1997/01/12 16:20:13	1.27
+++ bsd.info.mk	1997/01/13 10:51:01
@@ -109,9 +109,13 @@
 	${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}

Unless you've got any brighter ideas?
						Jordan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23432.853153271>