From: Hans U. N. <hu...@us...> - 2005-06-21 08:31:55
|
Update of /cvsroot/libexif/libexif-website In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17818 Modified Files: Makefile Log Message: more configurable stuff in Makefile Index: Makefile =================================================================== RCS file: /cvsroot/libexif/libexif-website/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -u -p -d -r1.2 -r1.3 --- Makefile 21 Jun 2005 08:22:27 -0000 1.2 +++ Makefile 21 Jun 2005 08:31:46 -0000 1.3 @@ -1,4 +1,5 @@ SF_SSH_HOSTNAME = sf +HTDOCS_DIR = /home/users/h/hu/hun/libexif/htdocs .PHONY: all all: @@ -10,6 +11,11 @@ upload: upload-static.stamp upload-static.stamp: static $(wildcard static/*.html static/*.css static/*.png static/*.jpg) Makefile find static \( -type d -exec chmod a+rx,go-w,g+s {} \; \) \ -or \( -type f -exec chmod a+r {} \; \) - rsync -avz --progress --exclude="CVS" static/* "$(SF_SSH_HOSTNAME):/home/users/h/hu/hun/libexif/htdocs/" - ssh "$(SF_SSH_HOSTNAME)" "find /home/groups/l/li/libexif/htdocs \( -type d -exec chgrp libexif {} \; -exec chmod g+rwxs,a+rx {} \; \) -or \( -type f -exec chgrp libexif {} \; -exec chmod g+rw {} \; \( -name '*.html' -or -name '*.png' -or -name '*.php' -or -name '*.jpg' -or -name '*.css' -name '*.dot' -name '*.map' \) -exec chmod a+r {} \; \)" + rsync -avz --progress --exclude="CVS" static/* "$(SF_SSH_HOSTNAME):$(HTDOCS_DIR)/" + ssh "$(SF_SSH_HOSTNAME)" "find $(HTDOCS_DIR) \ + \( -type d -exec chgrp libexif {} \; -exec chmod g+rwxs,a+rx {} \; \) \ + -or \( -type f -exec chgrp libexif {} \; -exec chmod g+rw {} \; \ + \( -name '*.html' -or -name '*.png' -or -name '*.php' -or -name '*.jpg' \ + -or -name '*.css' -name '*.dot' -name '*.map' \) \ + -exec chmod a+r {} \; \)" date > $@ |