Skip to content
Snippets Groups Projects
Commit b2cdbbb2 authored by Nicolas Dandrimont's avatar Nicolas Dandrimont
Browse files

docs/Makefile: make the install target actually work for a shared directory

parent 2ee1f2ad
No related branches found
No related tags found
No related merge requests found
......@@ -41,10 +41,10 @@ sphinx/%:
install: html
test -d $(HTMLDIR)
rsync -avuz $(BUILDDIR)/html/ $(INSTALL_HOST):$(INSTALL_DIR)/
rsync -rlvuz $(BUILDDIR)/html/ $(INSTALL_HOST):$(INSTALL_DIR)/
ssh $(INSTALL_HOST) \
"chgrp -R $(INSTALL_GROUP) $(INSTALL_DIR) ; \
chmod -R $(INSTALL_PERMS) $(INSTALL_DIR) ; \
find $(INSTALL_DIR) -type d -exec chmod g+s {} +"
"find $(INSTALL_DIR) -not -group $(INSTALL_GROUP) -exec chgrp -v $(INSTALL_GROUP) {} + ; \
find $(INSTALL_DIR) -not -perm -ug=rw,o=r -exec chmod -v ug+rw,o+r {} + ; \
find $(INSTALL_DIR) -type d -not -perm -g=xs,ou=x -exec chmod -v g+xs,ou+x {} +"
.PHONY: help html clean distclean install
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment