[PATCH] build: import gtk-doc support
Colin Helliwell
colin.helliwell at ln-systems.com
Thu Sep 7 06:10:04 UTC 2017
> On 06 September 2017 at 20:18 Dan Williams <dcbw at redhat.com> wrote:
>
> On Mon, 2017-08-28 at 12:59 +0200, Aleksander Morgado wrote:
>
> > Remove the need to run `gtkdocize' when building from git; this
> > should
> > be an operation done by the maintainer when modernizing the gtk-doc
> > setup (think of e.g. gettextize), no need to do it unconditionally.
> >
> > This makes it easier for platforms without gtk-doc to build from git.
> >
> > When trying to build with documentation enabled and gtk-doc isn't
> > found, we get some nice warnings and errors in the configure report:
> >
> > checking for gtk-doc... no
> > configure: WARNING:
> > You will not be able to create source packages with 'make dist'
> > because gtk-doc >= 1.0 is not found.
> > checking for gtkdoc-check... no
> > checking for gtkdoc-check... no
> > checking for gtkdoc-rebase... no
> > checking for gtkdoc-mkpdf... no
> > checking whether to build gtk-doc documentation... yes
> > configure: error:
> > You must have gtk-doc >= 1.0 installed to build documentation
> > for
> > ModemManager. Please install gtk-doc or disable building the
> >
> > documentation by adding '--disable-gtk-doc' to './configure'.
> >
> > ---
> >
> > Hey,
> >
> > I believe this would be an overall improvement, especially when users
> > want to get the latest git master in platforms like buildroot or
> > openwrt/lede, which lack gtk-doc support.
> >
> > We just want to consider updating the gtk-doc setup ourselves
> > (maintainers) much in the same way as the builtin gtester.make or the
> > gettextization.
> >
> > What do you think?
>
> Seems fine to me...
>
> Dan
>
Not sure if this is similar/same, but I have the same sort of issue when enabling introspection (which I now need) and cross-compiling - discussed here back in March.
I'm moving over now to using a stable release (i.e. tarball), but it would be useful to have the option to use git checkout.
More information about the ModemManager-devel
mailing list