build: fix gtk-doc when srcdir != builddir

https://bugzilla.gnome.org/show_bug.cgi?id=653250
This commit is contained in:
Patrick Welche
2011-06-23 15:08:46 +01:00
committed by Colin Walters
parent 1e58d11a44
commit 3393711f42
3 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED"
# The directory containing the source code. Relative to $(srcdir)
DOC_SOURCE_DIR=$(top_srcdir)/gio
HFILE_GLOB=$(addprefix $(top_srcdir)/gio/,$(shell cat $(top_srcdir)/gio/gio-public-headers.txt))
HFILE_GLOB=$(addprefix $(top_srcdir)/gio/,$(shell cat $(top_builddir)/gio/gio-public-headers.txt))
CFILE_GLOB=$(top_srcdir)/gio/*.c
# CFLAGS and LDFLAGS for compiling scan program. Only needed

View File

@@ -19,7 +19,7 @@ SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED" --ignore-decorators="GLI
MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=g
# Used for dependencies
HFILE_GLOB=$(addprefix $(top_srcdir)/glib/,$(shell cat $(top_srcdir)/glib/glib-public-headers.txt)) $(top_srcdir)/gmodule/*.h
HFILE_GLOB=$(addprefix $(top_srcdir)/glib/,$(shell cat $(top_builddir)/glib/glib-public-headers.txt)) $(top_srcdir)/gmodule/*.h
CFILE_GLOB=$(top_srcdir)/glib/*.c $(top_srcdir)/gmodule/*.c
# Images to copy into HTML directory

View File

@@ -20,7 +20,7 @@ SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED" \
MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=g
# Used for dependencies
HFILE_GLOB=$(addprefix $(top_srcdir)/gobject/,$(shell cat $(top_srcdir)/gobject/gobject-public-headers.txt))
HFILE_GLOB=$(addprefix $(top_srcdir)/gobject/,$(shell cat $(top_builddir)/gobject/gobject-public-headers.txt))
CFILE_GLOB=$(top_srcdir)/gobject/*.c
# CFLAGS and LDFLAGS for compiling scan program. Only needed