From ec40012cb9de58345370897c3d656e6216b4e923 Mon Sep 17 00:00:00 2001 From: Christopher Engelhard Date: Tue, 22 Sep 2020 22:36:47 +0200 Subject: [PATCH] Build & ship HTML user guide (PR #1) --- rear.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/rear.spec b/rear.spec index 3508b35..2a28e51 100644 --- a/rear.spec +++ b/rear.spec @@ -31,6 +31,9 @@ Requires: syslinux # (in addition to the default installed bootloader grub2) while on ppc ppc64 the # default installed bootloader yaboot is also useed to make the bootable ISO image. +# Required for HTML user guide +BuildRequires: asciidoctor + ### Mandatory dependencies: Requires: binutils Requires: ethtool @@ -44,7 +47,6 @@ Requires: attr Requires: bc Requires: iproute Requires: genisoimage -# Note that CentOS also has rhel defined so there is no need to use centos %if 0%{?rhel} Requires: util-linux %endif @@ -89,14 +91,15 @@ Professional services and support are available. %autosetup -p1 %build -# nothing to build +# build HTML user guide +make doc %install %{make_install} #-- FILES ---------------------------------------------------------------------# %files -%doc MAINTAINERS COPYING README.adoc doc/*.txt +%doc MAINTAINERS COPYING README.adoc doc/*.txt doc/user-guide/*.html %doc %{_mandir}/man8/rear.8* %config(noreplace) %{_sysconfdir}/rear/ %{_datadir}/rear/