Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Dec 1999 07:37:12 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        FreeBSD-current@FreeBSD.org
Subject:   make world [bsd.info.mk] - patch ?
Message-ID:  <199912160737.HAA00841@hak.lan.Awfulhak.org>

next in thread | raw e-mail | index | archive | help
Hi,

I can only assume that I'm doing something strange locally, but I've 
now got two machines that do this, and my third -current machine 
hasn't been installworld'd in a while....

The problem is that I can't ``make install'' any info files... I get 
something like:

$ make clean && make depend && make && sudo make install
.....[make looks fine].....
===> doc
sflag=`grep -q ^INFO-DIR-SECTION com_err.info || echo 1`;  eflag=`grep -q ^START-INFO-DIR-ENTRY com_err.info || echo 1`;  install-info  ${sflag:+--section="Programming & development tools."}  ${eflag:+--entry="* libcom_err: (com_err).        A Common Error Description Library for UNIX."}  com_err.info /usr/share/info/dir
install-info: Undefined error: 0 for /usr/share/info/dir
*** Error code 1

Stop in /usr/src/lib/libcom_err/doc.
*** Error code 1

Stop in /usr/src/lib/libcom_err.


From what I can tell, this shouldn't work anyway.... but the attached 
patch fixes things.

Am I missing something ?

Cheers.


cvs diff: Diffing .
Index: bsd.info.mk
===================================================================
RCS file: /home/ncvs/src/share/mk/bsd.info.mk,v
retrieving revision 1.56
diff -u -r1.56 bsd.info.mk
--- bsd.info.mk 1999/08/28 00:21:46     1.56
+++ bsd.info.mk 1999/12/16 07:27:58
@@ -32,7 +32,7 @@
 # INFODIR      Base path for GNU's hypertext system
 #              called Info (see info(1)). [${SHAREDIR}/info]
 #
-# INFODIRFILE  Top level node/index for info files. [dir]
+# INFODIRFILE  Top level node/index for info files. [$INFO.info.gz]
 #
 # INFOGRP      Info group. [${SHAREGRP}]
 #
@@ -86,7 +86,7 @@
 MAKEINFO?=     makeinfo
 MAKEINFOFLAGS+=        --no-split # simplify some things, e.g., compression
 SRCDIR?=       ${.CURDIR}
-INFODIRFILE?=   dir
+INFODIRFILE?=  ${INFO:S/$/.info.gz/}
 INFOTMPL?=      ${INFODIR}/dir-tmpl
 INSTALLINFO?=   install-info
 INFOSECTION?=   Miscellaneous

-- 
Brian <brian@Awfulhak.org>                        <brian@FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@FreeBSD.org.uk>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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