summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/gudev/Makefile.am6
-rw-r--r--docs/libudev/Makefile.am6
2 files changed, 4 insertions, 8 deletions
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
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