From owner-freebsd-current Thu Dec 16 13:55:42 1999 Delivered-To: freebsd-current@freebsd.org Received: from awfulhak.org (dynamic-122.max4-du-ws.dialnetwork.pavilion.co.uk [212.74.9.250]) by hub.freebsd.org (Postfix) with ESMTP id 5F6DF15B24 for ; Thu, 16 Dec 1999 13:55:33 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id VAA02631 for ; Thu, 16 Dec 1999 21:50:57 GMT (envelope-from brian@lan.awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id HAA00841 for ; Thu, 16 Dec 1999 07:37:12 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <199912160737.HAA00841@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.0 09/18/1999 To: FreeBSD-current@FreeBSD.org Subject: make world [bsd.info.mk] - patch ? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 16 Dec 1999 07:37:12 +0000 From: Brian Somers Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message