]> kaliko git repositories - mpd-sima.git/blobdiff - doc/Makefile
Cleanup PlayerError exception wrapper
[mpd-sima.git] / doc / Makefile
index a0aeb347a500dfaa2df8b4c2014df13b9fc1d8a5..e2783ec6da32d4e72b3680e6a48dbdfde3f97f0f 100644 (file)
@@ -19,7 +19,7 @@ ALLSPHINXOPTS   = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) sou
 # the i18n builder cannot share the environment and doctrees with the others
 I18NSPHINXOPTS  = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
 
-.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest coverage gettext
+.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest coverage gettext publish
 
 help:
        @echo "Please use \`make <target>' where <target> is one of"
@@ -190,3 +190,11 @@ pseudoxml:
        $(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
        @echo
        @echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
+
+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."