|
From: <smi...@us...> - 2004-01-01 19:30:11
|
Update of /cvsroot/devil-linux/scripts/webtools In directory sc8-pr-cvs1:/tmp/cvs-serv23855 Modified Files: generate_docs_from_cvs update_web_from_cvs Log Message: generate and hold docu outside of htdocs directory copy the existing docs when updating the website Index: generate_docs_from_cvs =================================================================== RCS file: /cvsroot/devil-linux/scripts/webtools/generate_docs_from_cvs,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- generate_docs_from_cvs 1 Jan 2004 19:14:11 -0000 1.2 +++ generate_docs_from_cvs 1 Jan 2004 19:30:07 -0000 1.3 @@ -42,10 +42,3 @@ find docu/ -type d | xargs chmod 2775 echo done. -echo -n "Moving new files into place..." -find htdocs/documentation/ -type d | grep -v "documentation/" | xargs rm -rf -mv docu/* htdocs/documentation/ -echo done. - -rm -rf docu - Index: update_web_from_cvs =================================================================== RCS file: /cvsroot/devil-linux/scripts/webtools/update_web_from_cvs,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- update_web_from_cvs 1 Jan 2004 18:22:06 -0000 1.3 +++ update_web_from_cvs 1 Jan 2004 19:30:07 -0000 1.4 @@ -5,18 +5,21 @@ test -d web && rm -rf web [ -f ~/.cvspass ] || cvs -d:pserver:ano...@cv...:/cvsroot/devil-linux login || exit 1 -echo Getting files from cvs: +echo "Getting files from cvs:" cvs -d:pserver:ano...@cv...:/cvsroot/devil-linux co web > /dev/null || exit 1 +echo "Copying the documentation" +cp -R docu/* web/documentation/ + echo -n "Cleaning up and updating rights..." find web/ -type d -name CVS | xargs rm -rf find web/ -type f | xargs chmod 0664 find web/ -type d | xargs chmod 2775 -echo done. +echo "done." echo -n "Moving new files into place..." mv htdocs htdocs.old mv web htdocs rm -rf htdocs.old -echo done. +echo "done." |