Skip to content

Commit

Permalink
doc: Do not precomple HTML doc anymore
Browse files Browse the repository at this point in the history
The HTML part is not ready yet. Let's remove the precompiled HTML doc.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
  • Loading branch information
igaw committed Feb 22, 2022
1 parent 2cf92c6 commit 9bf1705
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
7 changes: 4 additions & 3 deletions doc/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,10 @@ if want_docs != 'false'
install: true,
install_dir: htmldir)
else
if want_docs == 'all' or want_docs == 'html'
install_subdir('html', install_dir: htmldir)
endif
# The HTML doc is not ready yet.
# if want_docs == 'all' or want_docs == 'html'
# install_subdir('html', install_dir: htmldir)
# endif
endif
endif
endif
8 changes: 5 additions & 3 deletions doc/update-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ DESTDIR=$(pwd)
BUILDDIR="$(mktemp -d)"
trap 'rm -rf -- $BUILDDIR' EXIT

meson $BUILDDIR -Ddocs=all -Ddocs-build=true
meson $BUILDDIR -Ddocs=man -Ddocs-build=true
ninja -C $BUILDDIR

rm -rf $DESTDIR/doc/man
rm -rf $DESTDIR/doc/html
mkdir $DESTDIR/doc/man

cp -R $BUILDDIR/doc/html $DESTDIR/doc/
find $BUILDDIR/doc -maxdepth 1 -name '*.2' -exec cp {} $DESTDIR/doc/man \;

# The HTML doc is not ready yet
# rm -rf $DESTDIR/doc/html
# cp -R $BUILDDIR/doc/html $DESTDIR/doc/

0 comments on commit 9bf1705

Please sign in to comment.