.
OBS-URL: https://build.opensuse.org/package/show/shells/bash-completion?expand=0&rev=135
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user