]> git.pld-linux.org Git - packages/kmod.git/commitdiff
- unified apidocs bcond name, explain why disabled by default
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 9 May 2021 16:25:25 +0000 (18:25 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 9 May 2021 16:25:25 +0000 (18:25 +0200)
kmod.spec

index 71717d6d491d1a06f1f08c911c9ef36cdc767294..50b8c7e4a11cc4c2fe74b79adc6276a2dcc43359 100644 (file)
--- 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} \
This page took 0.099414 seconds and 4 git commands to generate.