mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-19 18:10:36 +01:00
docs: fix out-of-tree build
When compiling NetworkManager with --enable-gtk-doc outside the
source tree, the generated documents are slightly different from
those generated in tree. This patch fixes that missed COPYING file in
$(top_builddir) and adds $(top_builddir)/libnm-util to DOC_SOURCE_DIR.
https://bugzilla.gnome.org/show_bug.cgi?id=742139
Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
(cherry picked from commit 738649c1d5)
This commit is contained in:
parent
f023431aa7
commit
88566ea3b3
2 changed files with 4 additions and 1 deletions
|
|
@ -59,6 +59,7 @@ MKHTML_OPTIONS=--path="$(abs_srcdir)"
|
|||
content_files = \
|
||||
version.xml \
|
||||
migrating-to-09.xml \
|
||||
../../COPYING \
|
||||
$(NULL)
|
||||
|
||||
include $(top_srcdir)/gtk-doc.make
|
||||
|
|
|
|||
|
|
@ -10,7 +10,9 @@ DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
|
|||
# The directory containing the source code. Relative to $(srcdir).
|
||||
# gtk-doc will search all .c & .h files beneath here for inline comments
|
||||
# documenting functions and macros.
|
||||
DOC_SOURCE_DIR=$(top_srcdir)/libnm-util
|
||||
DOC_SOURCE_DIR= \
|
||||
$(top_builddir)/libnm-util \
|
||||
$(top_srcdir)/libnm-util
|
||||
|
||||
# Extra options to supply to gtkdoc-scan.
|
||||
SCAN_OPTIONS=--rebuild-types --rebuild-sections
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue