X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=doc%2FMakefile;h=e2783ec6da32d4e72b3680e6a48dbdfde3f97f0f;hb=1a178217e8efd3b2b523afb93775124baf1be05f;hp=a0aeb347a500dfaa2df8b4c2014df13b9fc1d8a5;hpb=7a017681a7646e8f8a3d7226b4ae9e1f6d7dbf41;p=mpd-sima.git diff --git a/doc/Makefile b/doc/Makefile index a0aeb34..e2783ec 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -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 ' where 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."