From 04297230e6ec71560f46c5ca68dfa56d5bbccfa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20=C5=A0imerda?= Date: Tue, 13 Nov 2012 22:00:28 +0100 Subject: [PATCH] build: fix gtk-doc srcdir != builddir issues --- docs/libnm-glib/Makefile.am | 2 +- docs/libnm-util/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/libnm-glib/Makefile.am b/docs/libnm-glib/Makefile.am index 3d5adfb82c..05fa706c45 100644 --- a/docs/libnm-glib/Makefile.am +++ b/docs/libnm-glib/Makefile.am @@ -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= diff --git a/docs/libnm-util/Makefile.am b/docs/libnm-util/Makefile.am index be1bdeebce..8404be56dd 100644 --- a/docs/libnm-util/Makefile.am +++ b/docs/libnm-util/Makefile.am @@ -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