By default documentation is disabled.
Change-Id: I33648ee019945d47d367e5db3abe84afa3400cc0
%define WITH_RFKILL 0
%define with_multiuser 1
%define WITH_MACHINED 0
+%define WITH_DOC 0
Name: systemd
Version: 231
BuildRequires: libcap-devel
BuildRequires: libgcrypt-devel
BuildRequires: libkmod-devel >= 14
+%if %{?WITH_DOC}
BuildRequires: xsltproc
BuildRequires: docbook-xsl-stylesheets
+%endif
BuildRequires: pam-devel
BuildRequires: pkgconfig
# BuildRequires: pkgconfig(dbus-1) # for remove circular dependency on OBS
--disable-gcrypt \
--libexecdir=%{_prefix}/lib \
--docdir=%{_docdir}/systemd \
+%if ! %{?WITH_DOC}
+ --disable-manpages \
+%endif
--disable-static \
--with-sysvinit-path= \
--with-sysvrcnd-path= \
%{_prefix}/lib/dbus-tests/test-suites/systemd-tests/
%{_prefix}/lib/dbus-tests/runner/systemd-tests
+%if %{?WITH_DOC}
%docs_package
+%endif