From: <smi...@us...> - 2004-01-01 18:37:36
|
Update of /cvsroot/devil-linux/scripts/webtools In directory sc8-pr-cvs1:/tmp/cvs-serv14927 Added Files: generate_docs_from_cvs Log Message: initial checkin --- NEW FILE: generate_docs_from_cvs --- #!/bin/sh # $Id: generate_docs_from_cvs,v 1.1 2004/01/01 18:37:32 smiley73 Exp $ # xml_docs # check out the XML documentation and generate it # $1 = tag name # $2 = version string function xml_docs { test -d build && rm -rf build [ -f ~/.cvspass ] || cvs -d:pserver:ano...@cv...:/cvsroot/devil-linux login || exit 1 echo Getting files from cvs: cvs -d:pserver:ano...@cv...:/cvsroot/devil-linux co -r $1 build > /dev/null || exit 1 echo Generating HTML java com.icl.saxon.StyleSheet build/docs/documentation/documentation.xml build/docs/documentation/stylesheets/html.xsl || exit 1 } cd /home/groups/d/de/devil-linux || exit 1 test -d docu && rm -rf docu mkdir -p docu || exit 1 xml_docs rel-1-0-patches 1.0.x return exit 1 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 -n "Moving new files into place..." mv htdocs htdocs.old mv web htdocs rm -rf htdocs.old echo done. |