11
0
2024-02-23 10:18:27 +00:00
committed by Git OBS Bridge
parent 59f17970c6
commit 92d29f3994

View File

@@ -72,7 +72,7 @@ BuildRequires: libtool
BuildRequires: pkgconfig
BuildArch: noarch
%if %{build_doc}
BuildRequires: asciidoc
BuildRequires: cmark
BuildRequires: libxslt-tools
%endif
%if %{build_core}
@@ -122,7 +122,10 @@ autoreconf -fiv
%if %{build_doc}
pushd doc
mkdir html
a2x -D html -d book -f xhtml --asciidoc-opts="--unsafe" main.txt
for md in *.md
do
cmark $md --to html > html/${md%%.md}.html
done
popd
%endif