From: Jakub Bogusz Date: Sun, 9 May 2021 16:25:25 +0000 (+0200) Subject: - unified apidocs bcond name, explain why disabled by default X-Git-Tag: auto/th/kmod-29-1~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=c230aa3a47fddef694894bb2d140861a11fb60ee;p=packages%2Fkmod.git - unified apidocs bcond name, explain why disabled by default --- diff --git a/kmod.spec b/kmod.spec index 71717d6..50b8c7e 100644 --- a/kmod.spec +++ b/kmod.spec @@ -8,7 +8,7 @@ %bcond_without openssl # OpenSSL support for PKCS7 signatures in modinfo %bcond_without python2 # CPython 2.x module %bcond_without python3 # CPython 3.x module -%bcond_with docs # Docs +%bcond_with apidocs # gtk-doc based API documentation (currently disabled by empty gtk-doc.make file) %bcond_without tests # perform "make check" (init_module seems to require root for mkdir) Summary: Linux kernel module handling @@ -27,7 +27,7 @@ Patch1: %{name}-depmod.d-kver.patch URL: https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git BuildRequires: autoconf >= 2.64 BuildRequires: automake >= 1:1.11 -%{?with_docs:BuildRequires: gtk-doc >= 1.14} +%{?with_apidocs:BuildRequires: gtk-doc >= 1.14} %if %{with tests} BuildRequires: kernel-module-build %endif @@ -164,7 +164,7 @@ cd build ../%configure \ --disable-silent-rules \ --disable-test-modules \ - %{?with_docs:--enable-gtk-doc} \ + %{?with_apidocs:--enable-gtk-doc} \ %{?with_python2:--enable-python} \ %{?with_openssl:--with-openssl} \ --with-rootlibdir=/%{_lib} \