[geocode-glib] docs: update Makefile.am
- From: Stefan Kost <stefkost src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geocode-glib] docs: update Makefile.am
- Date: Tue, 3 Sep 2013 20:12:45 +0000 (UTC)
commit a323466eb9399784b8af4b0be8041dc230d581de
Author: Stefan Sauer <ensonic users sf net>
Date: Tue Sep 3 21:43:27 2013 +0200
docs: update Makefile.am
Use $(top_srcdir) to reference the sources and update the test environment so
that gtkdoc-check needs less guessing.
docs/Makefile.am | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/docs/Makefile.am b/docs/Makefile.am
index eb5d2f6..21ce1a7 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -18,7 +18,7 @@ DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
# gtk-doc will search all .c & .h files beneath here for inline comments
# documenting the functions and macros.
# e.g. DOC_SOURCE_DIR=../../../gtk
-DOC_SOURCE_DIR=../geocode-glib
+DOC_SOURCE_DIR=$(top_srcdir)/geocode-glib
# Extra options to pass to gtkdoc-scangobj. Not normally needed.
SCANGOBJ_OPTIONS=
@@ -82,7 +82,9 @@ include $(top_srcdir)/gtk-doc.make
EXTRA_DIST += version.xml.in
if ENABLE_GTK_DOC
-TESTS_ENVIRONMENT = cd $(srcdir) &&
+TESTS_ENVIRONMENT = cd $(srcdir) && \
+ DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
+ SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir)
TESTS = $(GTKDOC_CHECK)
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]