[doc] fix permissions before publishing

This commit is contained in:
Nico Schottelius 2019-11-17 18:51:39 +01:00
parent 21df2367bb
commit 1d2b980c74
1 changed files with 5 additions and 1 deletions

View File

@ -11,8 +11,12 @@ DESTINATION=root@staticweb.ungleich.ch:/home/services/www/ungleichstatic/staticc
.PHONY: all build clean
publish: build
publish: build permissions
rsync -av $(BUILDDIR) $(DESTINATION)
permissions: build
find $(BUILDDIR) -type f -exec chmod 0644 {} \;
find $(BUILDDIR) -type d -exec chmod 0755 {} \;
build:
$(SPHINXBUILD) "$(SOURCEDIR)" "$(BUILDDIR)"