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
+++ b/GNUmakefile
@@ -6,6 +6,7 @@ NGINX_ORG =	/data/www/nginx.org
 
 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 @@ gzip:	rsync_gzip
 	$(MAKE) do_gzip
 
 rsync_gzip:
+	$(CHMOD) $(OUT)/
 	$(RSYNC) $(OUT)/ $(ZIP)/
 	$(RSYNC) $(TEXT)/ $(ZIP)/
 
@@ -232,6 +234,7 @@ draft:	all
 	$(RSYNC) $(OUT)/ $(NGINX_ORG)/$(OUT)/
 
 copy:
+	$(CHMOD) $(ZIP)
 	$(RSYNC) $(ZIP)/ $(NGINX_ORG)/
 	$(RSYNC) binary/ $(NGINX_ORG)/