summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2013-04-10 01:28:03 +0200
committerColin Walters <walters@verbum.org>2013-04-12 12:44:19 -0400
commit46b99351ed8e3c8690a3f346a1999d8f34c25111 (patch)
tree1e90109c88794964499f428b05a678812d88fddc
parent6c2c3f20e655e8b20d72a6fe929d4ae0321b4b49 (diff)
downloadpolkit-46b99351ed8e3c8690a3f346a1999d8f34c25111.tar.gz
Fix DOC_SOURCE_DIR for builddir != srcdir
This snippet comes from gtk-doc 1.18 examples/Makefile.am; we might want to update all of the file but that's not strictly necessary. https://bugs.freedesktop.org/show_bug.cgi?id=63479
-rw-r--r--docs/polkit/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/polkit/Makefile.am b/docs/polkit/Makefile.am
index bc90178..e0b669a 100644
--- a/docs/polkit/Makefile.am
+++ b/docs/polkit/Makefile.am
@@ -12,8 +12,11 @@ DOC_MAIN_SGML_FILE=polkit-1-docs.xml
# Extra options to supply to gtkdoc-scan
SCAN_OPTIONS=--ignore-headers=config.h
-# The directory containing the source code. Relative to $(srcdir)
-DOC_SOURCE_DIR=../../src
+# Directories containing the source code.
+# gtk-doc will search all .c and .h files beneath these paths
+# for inline comments documenting functions and macros.
+# e.g. DOC_SOURCE_DIR=$(top_srcdir)/gtk $(top_srcdir)/gdk
+DOC_SOURCE_DIR=$(top_srcdir)/src
# Used for dependencies
HFILE_GLOB=$(top_srcdir)/src/polkit*/*.h