From: kaliko Date: Thu, 18 Nov 2021 11:44:12 +0000 (+0100) Subject: doc: Add publish target X-Git-Tag: 0.18.1~13 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=6288b079e5de8e9ee5482e8009111b6ba3cba93a;p=mpd-sima.git doc: Add publish target --- diff --git a/doc/Makefile b/doc/Makefile index a0aeb34..f832ce1 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,8 @@ pseudoxml: $(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/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 + @echo + @echo "Publishing to https://media.kaliko.me/sima finished."