Commit 46b99351 authored by Miloslav Trmač's avatar Miloslav Trmač Committed by Colin Walters

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
parent 6c2c3f20
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment