libkmod: fix integration with gtk-doc
authorLucas De Marchi <lucas.demarchi@intel.com>
Tue, 28 Jun 2016 15:14:38 +0000 (12:14 -0300)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 28 Jun 2016 15:15:38 +0000 (12:15 -0300)
It was failing to generate doc with recent version of gtk-doc

[kmod]$ ./bootstrap
libkmod/docs/gtk-doc.make:33: error: EXTRA_DIST must be set with '=' before using '+='
libkmod/docs/Makefile.am:29:   'libkmod/docs/gtk-doc.make' included from here
autoreconf: automake failed with exit status: 1

Just add an empty EXTRA_DIST so it works.

libkmod/docs/Makefile.am

index 06f65c8..c4f3d69 100644 (file)
@@ -25,8 +25,10 @@ IGNORE_HFILES = libkmod-internal.h \
 
 content_files = version.xml
 
+EXTRA_DIST =
+
 if ENABLE_GTK_DOC
 include $(top_srcdir)/libkmod/docs/gtk-doc.make
 else
-EXTRA_DIST = libkmod-docs.xml libkmod-sections.txt
+EXTRA_DIST += libkmod-docs.xml libkmod-sections.txt
 endif