[doc] fix permissions before publishing
This commit is contained in:
parent
21df2367bb
commit
1d2b980c74
1 changed files with 5 additions and 1 deletions
|
@ -11,8 +11,12 @@ DESTINATION=root@staticweb.ungleich.ch:/home/services/www/ungleichstatic/staticc
|
||||||
|
|
||||||
.PHONY: all build clean
|
.PHONY: all build clean
|
||||||
|
|
||||||
publish: build
|
publish: build permissions
|
||||||
rsync -av $(BUILDDIR) $(DESTINATION)
|
rsync -av $(BUILDDIR) $(DESTINATION)
|
||||||
|
|
||||||
|
permissions: build
|
||||||
|
find $(BUILDDIR) -type f -exec chmod 0644 {} \;
|
||||||
|
find $(BUILDDIR) -type d -exec chmod 0755 {} \;
|
||||||
|
|
||||||
build:
|
build:
|
||||||
$(SPHINXBUILD) "$(SOURCEDIR)" "$(BUILDDIR)"
|
$(SPHINXBUILD) "$(SOURCEDIR)" "$(BUILDDIR)"
|
||||||
|
|
Loading…
Reference in a new issue