summaryrefslogtreecommitdiff
path: root/docs/libudev/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'docs/libudev/Makefile.am')
-rw-r--r--docs/libudev/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/libudev/Makefile.am b/docs/libudev/Makefile.am
index c6d7b8ca25..7899bd1145 100644
--- a/docs/libudev/Makefile.am
+++ b/docs/libudev/Makefile.am
@@ -88,8 +88,11 @@ 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
@@ -101,7 +104,6 @@ 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