From beba5ba73dbb1b5c4d6161e472f89fe18f14aeeb Mon Sep 17 00:00:00 2001 From: kaliko Date: Sat, 4 Dec 2021 12:22:40 +0100 Subject: [PATCH] doc: publish html target uses setuptools build Use setuptools to build html to have version set. --- doc/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/Makefile b/doc/Makefile index f832ce1..e2783ec 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -191,7 +191,10 @@ pseudoxml: @echo @echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml." -publish: html - rsync -avh ./build/html/ kaliko.me:var/www/kaliko/media/sima +setuptools: + (cd ..; python3 setup.py build_sphinx) + +publish: setuptools + rsync -avh --delete ../build/sphinx/html/ kaliko.me:var/www/kaliko/media/sima @echo @echo "Publishing to https://media.kaliko.me/sima finished." -- 2.39.5