https://bugzilla.gnome.org/show_bug.cgi?id=662390
DOC_MAIN_SGML_FILE=glib-docs.sgml
# The directory containing the source code. Relative to $(srcdir)
-DOC_SOURCE_DIR=../../../glib ../../../gmodule
+DOC_SOURCE_DIR=$(top_srcdir)/glib $(top_srcdir)/gmodule
# Extra options to supply to gtkdoc-scan
SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED" --ignore-decorators="GLIB_VAR"
DOC_MAIN_SGML_FILE=gobject-docs.sgml
# The directory containing the source code. Relative to $(srcdir)
-DOC_SOURCE_DIR=../../../gobject
+DOC_SOURCE_DIR=$(top_srcdir)/gobject
# Extra options to supply to gtkdoc-scan
SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED" \