From 6288b079e5de8e9ee5482e8009111b6ba3cba93a Mon Sep 17 00:00:00 2001 From: kaliko Date: Thu, 18 Nov 2021 12:44:12 +0100 Subject: [PATCH] doc: Add publish target --- doc/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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." -- 2.39.2