uncloud/archive/uncloud_etcd_based/docs/Makefile

26 lines
643 B
Makefile
Raw Normal View History

# 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
SOURCEDIR = source/
BUILDDIR = build/
2020-01-15 10:32:23 +00:00
DESTINATION=root@staticweb.ungleich.ch:/home/services/www/ungleichstatic/staticcms.ungleich.ch/www/uncloud/
2019-11-15 16:11:45 +00:00
.PHONY: all build clean
publish: build permissions
2019-11-15 16:11:45 +00:00
rsync -av $(BUILDDIR) $(DESTINATION)
permissions: build
find $(BUILDDIR) -type f -exec chmod 0644 {} \;
find $(BUILDDIR) -type d -exec chmod 0755 {} \;
build:
$(SPHINXBUILD) "$(SOURCEDIR)" "$(BUILDDIR)"
2019-12-07 11:53:41 +00:00
clean:
rm -rf $(BUILDDIR)