[LIBGPG-ERROR PATCH] doc: use compiler flags for yat2m when not cross-built.

NIIBE Yutaka gniibe at fsij.org
Tue Mar 20 06:58:14 CET 2018


Daniel Kahn Gillmor <dkg at fifthhorseman.net> wrote:
> i tried to get the proposed elegant way to work, but my autotools-fu is
> too weak to do that effectively (i ended up with COMPILE_NATIVE_OR_CROSS
> being empty somehow) so i'm sticking with the earlier proposed form for
> the debian packaging.

I don't think the elegant way works.  Since there is nothing for
PROGRAMS, doc/Makefile.in won't have the COMPILE variable.

Why not simpler solution?

Now (1.28) yat2m is installed by libgpg-error, but it's strange for me
that it's for native build only.

I think that we should add:

	bin_PROGRAMS = yat2m

so that it will be built and installed (even for cross compiling).

And then, configure should detect yat2m on the build system, which will
convert .texi files to man.

It is possible to support cross compiling with no yat2m installed on the
build system yet, but I don't think we should support this situation.
Perhaps, it would be better to support this situation, though.
-- 



More information about the Gnupg-devel mailing list