From 8b75afdbc2c0302da3110fbc2b33bc896c39a66e Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Sat, 17 Nov 2012 21:07:58 +0100 Subject: Fix build when gtk-doc is enabled Looks like gtk-doc.make is meant for automake, not make. Some previous changes need to be reverted. Signed-off-by: Felipe Contreras --- docs/gudev/Makefile.am | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'docs/gudev') diff --git a/docs/gudev/Makefile.am b/docs/gudev/Makefile.am index e0039e7606..57334b6ddc 100644 --- a/docs/gudev/Makefile.am +++ b/docs/gudev/Makefile.am @@ -94,11 +94,8 @@ GTKDOC_LIBS = \ $(GLIB_LIBS) \ $(top_builddir)/libgudev-1.0.la -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 @@ -110,6 +107,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 -- cgit v1.2.3-54-g00ecf