2019-11-11 18:42:57 +00:00
|
|
|
# Minimal makefile for Sphinx documentation
|
|
|
|
#
|
|
|
|
|
|
|
|
# You can set these variables from the command line, and also
|
|
|
|
# from the environment for the first two.
|
|
|
|
SPHINXOPTS ?=
|
|
|
|
SPHINXBUILD ?= sphinx-build
|
2019-11-12 11:33:20 +00:00
|
|
|
SOURCEDIR = source/
|
|
|
|
BUILDDIR = build/
|
|
|
|
DESTINATION=root@[2a0a:e5c0:2:12:0:f0ff:fea9:c3d9]:/home/app/static/ucloud
|
2019-11-11 18:42:57 +00:00
|
|
|
|
2019-11-12 11:33:20 +00:00
|
|
|
publish: build
|
|
|
|
rsync -av $(BUILDDIR)/ $(DESTINATION)
|
2019-11-11 18:42:57 +00:00
|
|
|
|
2019-11-12 11:33:20 +00:00
|
|
|
build:
|
|
|
|
$(SPHINXBUILD) "$(SOURCEDIR)" "$(BUILDDIR)"
|
2019-11-11 18:42:57 +00:00
|
|
|
|