[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GTK_DOC_BUILD_HTML does not appear in AM_CONDITIONAL
From: |
Ludovic Courtès |
Subject: |
Re: GTK_DOC_BUILD_HTML does not appear in AM_CONDITIONAL |
Date: |
Thu, 27 May 2010 16:11:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Hi Simon,
Simon Josefsson <address@hidden> writes:
> Hydra Build Daemon <address@hidden> writes:
>
>> gtk-doc.make:53: GTK_DOC_BUILD_HTML does not appear in AM_CONDITIONAL
>> doc/reference/Makefile.am:148: `gtk-doc.make' included from here
>> gtk-doc.make:58: GTK_DOC_BUILD_PDF does not appear in AM_CONDITIONAL
>> doc/reference/Makefile.am:148: `gtk-doc.make' included from here
>
> Any ideas why this happens? There is a AM_CONDITIONAL for the symbol in
> m4/gtk-doc.m4. Is the build system picking up gtk-doc.m4 from the
> system? There is a ACLOCAL_AMFLAGS = -I m4 in the top-level
> Makefile.am.
I tracked it to the fact that Nixpkgs had GTK-Doc 1.11 whereas
gktdoc-mkpdf is more recent. I upgraded to 1.15, which fixed the
problem.
Besides, Nixpkgs wraps ‘aclocal’ so that it searches for m4 files in
$ACLOCAL_PATH:
https://svn.nixos.org/repos/nix/nixpkgs/trunk/pkgs/development/tools/misc/automake/builder.sh
However, those extra -I flags are passed *before* the user flags (see
<https://svn.nixos.org/repos/nix/nixpkgs/trunk/pkgs/build-support/make-wrapper/make-wrapper.sh>),
which is presumably the reason why your gtk-doc.m4 was ignored.
Probably worth a fix.
Thanks,
Ludo’.