Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Oct 2000 09:24:59 +0300
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Satoshi - Ports Wraith - Asami <asami@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: PROPOSAL: Handling of GNU Texinfo documentation in bsd.port.mk  [patch]
Message-ID:  <39E2B63B.3A32622E@FreeBSD.org>
References:  <39E1803D.7A049B1D@FreeBSD.org> <vqclmvx8pk3.fsf@silvia.hip.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Satoshi - Ports Wraith - Asami wrote:

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

I was thinking about it, but it seems that it would create additional overhead, which is not quite required, as it is easier to either patch
appropriate Makefile to produce non-split info files, or at least add additional files into pkg-plist as usually. What do you think?

>  * +                    (${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.

Noted, thanks!

-Maxim




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?39E2B63B.3A32622E>