NetworkManager/docs/api
Thomas Haller b599f1b743 build: combine handling of setting docs and man pages
Building the man pages via xsltproc requires "docbook.xsl"
which is part of docbook.

Previously, we would build the man pages solely based on
"--enable-introspection", which checks for the presence of
xsltproc, but not docbook. This can lead to build failure
when docbook is not available, but "--enable-introspection"
is given.

Instead of adding yet another configure option to fine-tune
and say "--with-docbook --disable-gtk-doc", just simplify it.

Now, documentation (both man pages and setting docs) will be generated
with "--enable-gtk-doc" and "--enable-introspection".
If the documentation is not about to be generated, pre-generated docs
will be installed if they are available. That is commonly the case
with a source tarball, but not with a git checkout.
Finally, if documentation is nither generated nor pre-generated,
no documentation will be installed *duh*.

This removes the possibility to treat man pages separate from settings
docs. Now you either generate both, install both pre-generated, or don't
get any of them.

https://bugzilla.gnome.org/show_bug.cgi?id=778551
2017-02-14 00:08:22 +01:00
..
Makefile.am build: combine handling of setting docs and man pages 2017-02-14 00:08:22 +01:00
network-manager-docs.xml core,libnm: introduce NMDeviceMacsec 2017-01-16 17:37:14 +01:00
network-manager-overrides.txt docs: create new master NM documentation module 2011-02-16 16:24:16 -06:00
settings-spec.xsl man, docs: add the secret flags notes non-hackishly 2014-11-19 09:24:10 -05:00
version.xml.in docs: create new master NM documentation module 2011-02-16 16:24:16 -06:00