build: fix gtk-doc srcdir != builddir issues
authorPavel Šimerda <psimerda@redhat.com>
Tue, 13 Nov 2012 21:00:28 +0000 (22:00 +0100)
committerPavel Šimerda <psimerda@redhat.com>
Tue, 13 Nov 2012 21:39:53 +0000 (22:39 +0100)
docs/libnm-glib/Makefile.am
docs/libnm-util/Makefile.am

index 3d5adfb..05fa706 100644 (file)
@@ -10,7 +10,7 @@ DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
 # The directory containing the source code. Relative to $(srcdir).
 # gtk-doc will search all .c & .h files beneath here for inline comments
 # documenting functions and macros.
-DOC_SOURCE_DIR=../../libnm-glib
+DOC_SOURCE_DIR=$(top_srcdir)/libnm-glib
 
 # Extra options to supply to gtkdoc-scan.
 SCAN_OPTIONS=
index be1bdee..8404be5 100644 (file)
@@ -10,7 +10,7 @@ DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
 # The directory containing the source code. Relative to $(srcdir).
 # gtk-doc will search all .c & .h files beneath here for inline comments
 # documenting functions and macros.
-DOC_SOURCE_DIR=../../libnm-util
+DOC_SOURCE_DIR=$(top_srcdir)/libnm-util
 
 # Extra options to supply to gtkdoc-scan.
 SCAN_OPTIONS=--rebuild-types --rebuild-sections