changeset 40:61564cf3d4d2

* Fixed site modifications by staff group members
author Sergey Budnevitch <sb@waeme.net>
date Sat, 01 Oct 2011 14:37:27 +0000
parents 34dcd26f2894
children 425f0b4acecc
files GNUmakefile
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/GNUmakefile	Sat Oct 01 11:30:11 2011 +0000
+++ b/GNUmakefile	Sat Oct 01 14:37:27 2011 +0000
@@ -6,6 +6,7 @@
 
 CP =		/data/sites/java/xsls/\*:$(HOME)/java/xsls/\*
 RSYNC =		rsync -v -rc --exclude=.svn
+CHMOD =		/bin/chmod -R g+w
 
 
 define	XSLScript
@@ -187,6 +188,7 @@
 	$(MAKE) do_gzip
 
 rsync_gzip:
+	$(CHMOD) $(OUT)/
 	$(RSYNC) $(OUT)/ $(ZIP)/
 	$(RSYNC) $(TEXT)/ $(ZIP)/
 
@@ -232,6 +234,7 @@
 	$(RSYNC) $(OUT)/ $(NGINX_ORG)/$(OUT)/
 
 copy:
+	$(CHMOD) $(ZIP)
 	$(RSYNC) $(ZIP)/ $(NGINX_ORG)/
 	$(RSYNC) binary/ $(NGINX_ORG)/