diff mbox series

configure: set docdir in GTK_DOC_CHECK

Message ID 20231208224511.1363066-1-ross.burton@arm.com (mailing list archive)
State New
Headers show
Series configure: set docdir in GTK_DOC_CHECK | expand

Commit Message

Ross Burton Dec. 8, 2023, 10:45 p.m. UTC
From: Ross Burton <ross.burton@arm.com>

By passing --docdir in the GTK_DOC_CHECK arguments (to match
autogen.sh) autoreconf will work out of the box.

Without this autoreconf fails due to the documentation not being in
./docs, the default location.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/configure.ac b/configure.ac
index de01e08..67696c4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -255,7 +255,7 @@  AS_IF([test "x$enable_coverage" = "xyes"], [
 AM_CONDITIONAL([ENABLE_COVERAGE], [test "x$enable_coverage" = "xyes"])
 
 m4_ifdef([GTK_DOC_CHECK], [
-GTK_DOC_CHECK([1.14],[--flavour no-tmpl-flat])
+GTK_DOC_CHECK([1.14],[--flavour no-tmpl-flat --docdir libkmod/docs])
 ], [
 AM_CONDITIONAL([ENABLE_GTK_DOC], false)])