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 <[EMAIL PROTECTED]>                        <[EMAIL PROTECTED]>
      <http://www.Awfulhak.org>                   <[EMAIL PROTECTED]>
Don't _EVER_ lose your sense of humour !          <[EMAIL PROTECTED]>




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to