Commit 738649c1 authored by You Sheng Yang (Vicamo)'s avatar You Sheng Yang (Vicamo) 😸 Committed by Thomas Haller

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. You Sheng Yang (Vicamo)'s avatarYou-Sheng Yang <>
parent 2243461d
......@@ -59,6 +59,7 @@ MKHTML_OPTIONS=--path="$(abs_srcdir)"
content_files = \
version.xml \
migrating-to-09.xml \
../../COPYING \
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.
$(top_builddir)/libnm-util \
# Extra options to supply to gtkdoc-scan.
SCAN_OPTIONS=--rebuild-types --rebuild-sections
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment