libuser: fix gtk-doc configure call

Update the GTK_DOC_CHECK invocation to specify where the
documentation will be built (as the default is ./docs).

This is needed so that gtkdocize as run by autopoint knows where the
documentation will be built. At the moment we manually call gtkdocize
but this will change to autopoint in the future.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Ross Burton
2024-01-12 12:53:37 +00:00
committed by Khem Raj
parent b5343d2f38
commit 205b44eb45
2 changed files with 23 additions and 0 deletions
@@ -0,0 +1,22 @@
Update the GTK_DOC_CHECK invocation to specify where the
documentation will be built (as the default is ./docs).
This is needed so that gtkdocize as run by autopoint knows where the
documentation will be built.
Upstream-Status: Submitted [https://pagure.io/libuser/pull-request/70]
Signed-off-by: Ross Burton <ross.burton@arm.com>
diff --git a/configure.ac b/configure.ac
index 0bd4a67..51508b7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -169,7 +169,7 @@ if test "$GCC" = yes ; then
AC_MSG_RESULT([$enable_Werror])
fi
-GTK_DOC_CHECK
+GTK_DOC_CHECK([1.14],[--flavour no-tmpl --docdir docs/reference])
AC_CONFIG_FILES([Makefile po/Makefile.in docs/Makefile docs/reference/Makefile
libuser.pc])
@@ -14,6 +14,7 @@ SECTION = "base"
SRC_URI = "https://releases.pagure.org/libuser/libuser-${PV}.tar.gz \
file://0001-docs-Disable-building.patch \
file://0002-remove-unused-execinfo.h.patch \
file://gtkdoc.patch \
"
SRC_URI[sha256sum] = "ea6094c72cb9e60a42fb53509dc98d124a340f1c9222783b503208adc16a0a8f"