Skip site navigation (1)Skip section navigation (2)
Date:      09 Oct 2000 18:15:08 -0700
From:      asami@FreeBSD.org (Satoshi - Ports Wraith - Asami)
To:        Maxim Sobolev <sobomax@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: PROPOSAL: Handling of GNU Texinfo documentation in bsd.port.mk [patch]
Message-ID:  <vqclmvx8pk3.fsf@silvia.hip.berkeley.edu>
In-Reply-To: Maxim Sobolev's message of "Mon, 09 Oct 2000 11:22:22 %2B0300"
References:  <39E1803D.7A049B1D@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
 * From: Maxim Sobolev <sobomax@FreeBSD.org>

 * [...]
 * 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




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