diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-06-12 11:15:16 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-06-12 11:15:16 +0100 |
commit | 7f114b781f5c530d57530e5f76402e41cdabac6b (patch) | |
tree | 1778a630d30b249c86f577611fa279f4a643a203 /doc | |
parent | 1498c9c333d7579231ac44a91f00f0a49360702d (diff) |
[doc] Workaround read-only tree during make distcheck
This looks to be an ugly necessity to work-around the nasty issue that
we currently gtkdoc expect to be run inside the source tree. I'm sure
Behdad will be able to resolve this much more elegantly than this quick
and fragile attempt.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/public/Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/public/Makefile.am b/doc/public/Makefile.am index 65ed2fb1f..cc95ce248 100644 --- a/doc/public/Makefile.am +++ b/doc/public/Makefile.am @@ -10,12 +10,13 @@ DOC_MAIN_SGML_FILE=cairo-docs.xml # Extra options to supply to gtkdoc-scan SCAN_OPTIONS=--deprecated-guards="CAIRO_DISABLE_DEPRECATED" --ignore-decorators="cairo_public|cairo_private" -# The directory containing the source code. Relative to $(srcdir) -DOC_SOURCE_DIR=../../src +# The directory containing the source code. +DOC_SOURCE_DIR=$(top_srcdir)/src # Used for dependencies HFILE_GLOB=$(top_srcdir)/src/cairo*.h CFILE_GLOB=$(top_srcdir)/src/cairo*.c +EXTRA_HFILES=$(top_builddir)/src/cairo-supported-features.h # Headers to ignore IGNORE_HFILES= \ |