From: kaliko Date: Sat, 4 Dec 2021 11:22:40 +0000 (+0100) Subject: doc: publish html target uses setuptools build X-Git-Tag: 0.18.1~7 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=beba5ba73dbb1b5c4d6161e472f89fe18f14aeeb;p=mpd-sima.git doc: publish html target uses setuptools build Use setuptools to build html to have version set. --- 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."