[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: distribution of texi2any_internals.info
From: |
Patrice Dumas |
Subject: |
Re: distribution of texi2any_internals.info |
Date: |
Tue, 3 Sep 2024 21:52:36 +0200 |
On Tue, Sep 03, 2024 at 06:49:57PM +0100, Gavin Smith wrote:
>
> I don't understand why we are building the texi2any_internals.info file
> in the first place. I would have expected the file to be distributed
> with Texinfo, like other .info files.
I think that I made that change when I did a review of all the
distributed and cleaned files. I realized that we did not distribute
the info files except for info files in tp_api, so I changed tp_api
Makefile.am such that these info files are also not distributed.
In doc/Makefile.am there is
# Do not create info files for distribution.
dist-info:
Looking at git blame, seems to be old:
Karl Berry 2002-08-25
> I couldn't find any emails from around that time discussing why the change
> was made. Patrice, do you remember?
I do not think that I started a discussion on it, because to me it
seemed to be an error of myself, committed when I did doc/tp_api
Makefile.am and did not consistently do as in doc/.
Also it seemed somewhat logical to me, in GNU Texinfo there is no reason
why we could not regenerate info files, which is also why I did not
start a discussion on that but did the change.
> Running texi2any as part of the build from the tarball is likely problematic
> for cross-compiling. (In fact I don't know if Texinfo has been successully
> cross-compiled in recent years as I don't remember anyone talking about it.)
I doubt it since it seems like makeinfo/texi2any is used to generate the
info files since 2002. It seems to me that this is what the TOOLS_ONLY
and $cross_compiling part in configure.ac and Makefile.am are about,
there is this comment:
# We need to run some of our own binaries, most notably makedoc, but as
# long as we have this process, we also use our own makeinfo and
# install-info.
However, it is possible that it may be broken now because of some
changes -- though probably not removing the tp_api info files. For
instance maybe the configure call in if test "$cross_compiling" != no
should include PERL_EXT_CFLAGS. Currently it is:
env -i CC="$BUILD_CC" AR="$BUILD_AR" RANLIB="$BUILD_RANLIB" \
PATH="$PATH" \
tools_only=1 \
${confdir}/configure --build=${build} --host=${build} \
--disable-rpath --disable-nls
I guess that it worked at least to some extent in 2019 as there are some
discussions on it:
https://github.com/ElvishJerricco/cross-nixos-aarch64/issues/1
https://lists.libreplanet.org/archive/html/guix-commits/2019-08/msg01053.html
https://github.com/NixOS/nixpkgs/pull/76598/commits/31f12acea46d3ad3787bb1ac332dbd2a40739622
--
Pat
- Re: Texinfo 7.1.0.91 pretest results, (continued)
- Re: Texinfo 7.1.0.91 pretest results, Bruno Haible, 2024/09/02
- Re: Texinfo 7.1.0.91 pretest results, Gavin Smith, 2024/09/02
- Re: Texinfo 7.1.0.91 pretest results, mingw, Bruno Haible, 2024/09/02
- Re: Texinfo 7.1.0.91 pretest results, mingw, Gavin Smith, 2024/09/03
- Re: Texinfo 7.1.0.91 pretest results, Patrice Dumas, 2024/09/18
- Re: Texinfo 7.1.0.91 pretest results, Patrice Dumas, 2024/09/19
- Re: Texinfo 7.1.0.91 pretest results, Patrice Dumas, 2024/09/20
distribution of texi2any_internals.info, Gavin Smith, 2024/09/03
Re: distribution of texi2any_internals.info,
Patrice Dumas <=
Re: distribution of texi2any_internals.info, Gavin Smith, 2024/09/03