build: Fix gtk-doc srcdir != builddir
authorColin Walters <walters@verbum.org>
Mon, 25 Jul 2011 20:51:55 +0000 (16:51 -0400)
committerColin Walters <walters@verbum.org>
Wed, 27 Jul 2011 13:12:16 +0000 (09:12 -0400)
gtk-doc apparently lies about the path being relative...fix it by just
using $(srcdir).

docs/reference/Makefile.am

index f6456043e6fde0dbac30e886596dc0de988fbd84..19c9affa14ed897aa4cc853a5495b2d4e708329d 100644 (file)
@@ -7,7 +7,7 @@ DOC_MODULE=gi
 DOC_MAIN_SGML_FILE=gi-docs.sgml
 
 # The directory containing the source code. Relative to $(srcdir)
-DOC_SOURCE_DIR=../../girepository
+DOC_SOURCE_DIR=$(top_srcdir)/girepository
 
 # Extra options to supply to gtkdoc-scan
 SCAN_OPTIONS=