GNOME Bugzilla – Bug 742139
incomplete libnm-util documentation built when compiled out of tree
Last modified: 2015-01-12 15:51:03 UTC
When compiling NetworkManager outside the source tree with gtk-doc enabled, the generated documents differ from the ones generated when compiled in tree. The different pages are: * NetworkManager/license.html: GPLv2 terms replaced by "FIXME: MISSING XINCLUDE CONTENT". * libnm-util/*.html: All enumeration and flag types are missing. After some investigation, there are two corresponding bugs in the Makefile.am files. * docs/api/Makefile.am: Missing an entry to "content_files" so $(top_srcdir)/COPYING is not available in $(top_builddir) * docs/libnm-util/Makefile.am: $(top_srcdir)/libnm-util generates nm-utils-enum-types.h and nm-utils-enum-types.c and place them in $(top_builddir). When compiled out of tree, these files are invisible to gtk-doc because DOC_SOURCE_DIR has only $(top_srcdir)/libnm-util.
Created attachment 293509 [details] [review] proposed patch
Looks good to me.
Looks good to me too. Patch applied. master: http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=738649c1d5fe28f487cb5158398a0688467d8513 nm-1-0: http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=88566ea3b3d41cfbb0b11ffe3c9d202a82e9187a
Thank you ;)