distcheck failing after adding api documentation
After merging #10 (closed) we have distcheck failing, tried to mark that issue on jabber but nothing happened.
https://jenkins.isc.org/job/kea-master-distcheck/68/
error: https://jenkins.isc.org/job/kea-master-distcheck/68/execution/node/84/log/
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compatcheck/Makefile
config.status: creating dns++.pc
config.status: creating doc/Makefile
config.status: creating doc/guide/Makefile
config.status: creating doc/version.ent
config.status: error: cannot find input file: `doc/docgen/Makefile.in'
Makefile:833: recipe for target 'distcheck' failed
make: *** [distcheck] Error 1
I assume that code from docgen should be included into release package, so my fix is below (but I'm not sure if it's what Tomek had in mind)
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 951c257..184e347 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = guide
+SUBDIRS = guide docgen
EXTRA_DIST = version.ent.in Doxyfile Doxyfile-xml
EXTRA_DIST += devel/bison.dox
diff --git a/doc/docgen/Makefile.am b/doc/docgen/Makefile.am
index 72d8bd9..612d921 100644
--- a/doc/docgen/Makefile.am
+++ b/doc/docgen/Makefile.am
@@ -12,7 +12,7 @@ noinst_PROGRAMS = kea-docgen
kea_docgen_SOURCES = kea_docgen.cc
# For bare distcheck
-EXTRA_DIST = cmd_docgen
+EXTRA_DIST = generate-templates
kea_docgen_LDADD = $(top_builddir)/src/lib/cc/libkea-cc.la
kea_docgen_LDADD += $(top_builddir)/src/lib/exceptions/libkea-exceptions.la
also in some files in doc/docgen/ "cmd_docgen" is mentioned but not existing. Marking this as critical because it's stalling my testing just before release.