summaryrefslogtreecommitdiffstats
path: root/vis.spec
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2023-06-21 12:31:31 +0200
committerMatěj Cepl <mcepl@cepl.eu>2023-06-21 12:31:31 +0200
commit594d2539a3f2534f76324af0f5fe686cdc5b537e (patch)
treee044a4e626b2c835f6ff2c6eb5654998476001bf /vis.spec
parent12ac34b5733be8b29a64fb408c286b4972ba382f (diff)
downloadvis-pkg-594d2539a3f2534f76324af0f5fe686cdc5b537e.tar.gz
Generate documentation.
Diffstat (limited to 'vis.spec')
-rw-r--r--vis.spec12
1 files changed, 9 insertions, 3 deletions
diff --git a/vis.spec b/vis.spec
index cba76dd..ae1692e 100644
--- a/vis.spec
+++ b/vis.spec
@@ -69,9 +69,13 @@ export CFLAGS="%{optflags} -fcommon"
%make_build debug
make -C doc singlehtml epub
+cp doc/build/sphinx/singlehtml/{index,VisEditor}.html
%install
%make_install
+rm -r %{buildroot}%{_datadir}/doc/vis
+find doc/build -name \*.htm\*
+find . -name \*.htm\*
%check
# According to the debian/rules:
@@ -81,12 +85,14 @@ make -C doc singlehtml epub
%make_build -C test/lua
%make_build -C test/vis
+%clean
+
%files
%{_bindir}/vis*
%{_datadir}/vis
%{_mandir}/man1/*
-%dir %{_datadir}/doc/vis
-%{_datadir}/doc/vis/LICENSE
-%{_datadir}/doc/vis/README.md
+%doc README.md LICENSE
+%doc doc/build/sphinx/epub/VisEditor.epub
+%doc doc/build/sphinx/singlehtml/VisEditor.html
%changelog