From: Hans U. N. <hu...@us...> - 2005-06-21 08:22:35
|
Update of /cvsroot/libexif/libexif-website In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13105 Modified Files: Makefile Log Message: made ssh host name one setting Index: Makefile =================================================================== RCS file: /cvsroot/libexif/libexif-website/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -d -r1.1 -r1.2 --- Makefile 19 Jun 2005 22:22:59 -0000 1.1 +++ Makefile 21 Jun 2005 08:22:27 -0000 1.2 @@ -1,3 +1,5 @@ +SF_SSH_HOSTNAME = sf + .PHONY: all all: @echo "Nothing to build." @@ -8,6 +10,6 @@ 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:/home/users/h/hu/hun/libexif/htdocs/ - ssh "sf" "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):/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 {} \; \)" date > $@ |