Skip to content
Snippets Groups Projects
Commit 6ada8867 authored by Stefano Zacchiroli's avatar Stefano Zacchiroli
Browse files

delete old files from target dir upon doc installation

parent 489b015a
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ sphinx/%:
install: html
test -d $(HTMLDIR)
rsync -rlvuz $(BUILDDIR)/html/ $(INSTALL_HOST):$(INSTALL_DIR)/
rsync -rlvuz --delete $(BUILDDIR)/html/ $(INSTALL_HOST):$(INSTALL_DIR)/
ssh $(INSTALL_HOST) \
"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 {} + ; \
......
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