summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-11-18 09:38:09 -0500
committerAnthony G. Basile <blueness@gentoo.org>2012-11-18 09:38:09 -0500
commitfb71ce410efe546f80ceb3e5144b6d75558efb57 (patch)
treea96f2fb9c31678b5a0bbbfbacb89c68236fc15d2 /docs
parent814a7243680857496595c21a05b8bb6242664d8e (diff)
parent8b75afdbc2c0302da3110fbc2b33bc896c39a66e (diff)
Fix gtk-doc build
Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/gudev/Makefile.am9
-rw-r--r--docs/libudev/Makefile.am6
2 files changed, 6 insertions, 9 deletions
diff --git a/docs/gudev/Makefile.am b/docs/gudev/Makefile.am
index 848ad6a4a0..3fba8ea479 100644
--- a/docs/gudev/Makefile.am
+++ b/docs/gudev/Makefile.am
@@ -92,13 +92,11 @@ GTKDOC_CFLAGS = \
GTKDOC_LIBS = \
$(GLIB_LIBS) \
- $(top_builddir)/libgudev-1.0.la
-
-if ENABLE_GTK_DOC
-EXTRA_DIST=
+ $(top_builddir)/src/gudev/libgudev-1.0.la \
+ $(top_builddir)/src/udev/libudev-core.la
# This includes the standard gtk-doc make rules, copied by gtkdocize.
--include $(top_srcdir)/docs/gtk-doc.make
+include $(top_srcdir)/docs/gtk-doc.make
# Other files to distribute
# e.g. EXTRA_DIST += version.xml.in
@@ -110,6 +108,7 @@ EXTRA_DIST += version.xml.in
#DISTCLEANFILES +=
# Comment this out if you want your docs-status tested during 'make check'
+if ENABLE_GTK_DOC
TESTS_ENVIRONMENT = cd $(top_srcdir)
TESTS = $(GTKDOC_CHECK)
endif
diff --git a/docs/libudev/Makefile.am b/docs/libudev/Makefile.am
index 7899bd1145..c6d7b8ca25 100644
--- a/docs/libudev/Makefile.am
+++ b/docs/libudev/Makefile.am
@@ -88,11 +88,8 @@ override LDFLAGS=
GTKDOC_CFLAGS=
GTKDOC_LIBS=
-if ENABLE_GTK_DOC
-EXTRA_DIST=
-
# This includes the standard gtk-doc make rules, copied by gtkdocize.
--include $(top_srcdir)/docs/gtk-doc.make
+include $(top_srcdir)/docs/gtk-doc.make
# Other files to distribute
# e.g. EXTRA_DIST += version.xml.in
@@ -104,6 +101,7 @@ EXTRA_DIST += version.xml.in
#DISTCLEANFILES +=
# Comment this out if you want your docs-status tested during 'make check'
+if ENABLE_GTK_DOC
TESTS_ENVIRONMENT = cd $(top_srcdir)
TESTS = $(GTKDOC_CHECK)
endif