summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vis.spec7
1 files changed, 6 insertions, 1 deletions
diff --git a/vis.spec b/vis.spec
index 0dfd59e..cba76dd 100644
--- a/vis.spec
+++ b/vis.spec
@@ -25,7 +25,7 @@ License: ISC
Group: Productivity/Text/Editors
URL: https://sr.ht/~martanne/vis
BuildRequires: git
-#!RemoteAssetUrl: git+https://git.sr.ht/~mcepl/vis#devel
+#!RemoteAssetUrl: git+https://git.sr.ht/~mcepl/vis#gen_doc
BuildRequires: libacl-devel
BuildRequires: libselinux-devel
BuildRequires: libtermkey-devel
@@ -35,6 +35,9 @@ BuildRequires: tar
Suggests: par_text
# ExclusiveArch: x86_64 %%{ix86}
%if 0%{?suse_version} > 1550
+BuildRequires: doxygen
+BuildRequires: python3-Sphinx
+BuildRequires: python3-breathe
BuildRequires: lua54-busted
BuildRequires: lua54-devel
BuildRequires: lua54-lpeg
@@ -65,6 +68,8 @@ export CFLAGS="%{optflags} -fcommon"
%configure
%make_build debug
+make -C doc singlehtml epub
+
%install
%make_install