From owner-freebsd-ports Mon Oct 9 18:15:20 2000 Delivered-To: freebsd-ports@freebsd.org Received: from tisch.mail.mindspring.net (tisch.mail.mindspring.net [207.69.200.157]) by hub.freebsd.org (Postfix) with ESMTP id 5BB2937B66C; Mon, 9 Oct 2000 18:15:17 -0700 (PDT) Received: from silvia.hip.berkeley.edu (sji-ca7-112.ix.netcom.com [209.109.235.112]) by tisch.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id VAA26240; Mon, 9 Oct 2000 21:15:15 -0400 (EDT) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.11.0/8.11.0) id e9A1FDQ98683; Mon, 9 Oct 2000 18:15:13 -0700 (PDT) (envelope-from asami) To: Maxim Sobolev Cc: ports@FreeBSD.org Subject: Re: PROPOSAL: Handling of GNU Texinfo documentation in bsd.port.mk [patch] References: <39E1803D.7A049B1D@FreeBSD.org> From: asami@FreeBSD.org (Satoshi - Ports Wraith - Asami) Date: 09 Oct 2000 18:15:08 -0700 In-Reply-To: Maxim Sobolev's message of "Mon, 09 Oct 2000 11:22:22 +0300" Message-ID: Lines: 29 X-Mailer: Gnus v5.7/Emacs 20.7 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * From: Maxim Sobolev * [...] * INFOPAGES= foo bar * [...] * * In more complex cases, when the installed infopages for some strange reason * don't contain information required for install-info(1) to register those pages * into info/dir directory file, you may need something like the following: * * [...] * INFOPAGES= foo%"Utilities"%"* Foo: (foo). Foo manual" \ * bar%"Utilities"%"* Bar: (bar). Bar manual" * * As usually any comments/suggestions are welcomed. Sounds like a good idea. You need to extend it to deal with split info files (foo.info-1, foo.info-2, etc.) though. * + (${ECHO} "@unexec ${INSTALL-INFO} --delete %D/$${_INFOPAGE} ${LOCALINFODIR}"; \ * + ${ECHO} $${_INFOPAGE}; \ * + ${ECHO} "@exec ${INSTALL-INFO} $${_INFOSECTION} $${_INFOENTRY} %D/$${_INFOPAGE} ${LOCALINFODIR}") >> ${TMPPLIST}; \ You don't need to put the "@unexec" before the files -- install-info --delete doesn't require the info files to be present anymore. I recommend you put them in the normal "file, @exec, @unexec" order for ease to understand. Satoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message