]> kaliko git repositories - mpd-sima.git/commitdiff
doc: publish html target uses setuptools build
authorkaliko <kaliko@azylum.org>
Sat, 4 Dec 2021 11:22:40 +0000 (12:22 +0100)
committerkaliko <kaliko@azylum.org>
Sat, 4 Dec 2021 11:22:40 +0000 (12:22 +0100)
Use setuptools to build html to have version set.

doc/Makefile

index f832ce135c637d5b7a9bae15e93369ac997ff017..e2783ec6da32d4e72b3680e6a48dbdfde3f97f0f 100644 (file)
@@ -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."