Update of /cvsroot/leaf/sourceforge/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23951
Modified Files: doc-build.sh Log Message: Added local xml catalog entry Index: doc-build.sh =================================================================== RCS file: /cvsroot/leaf/sourceforge/admin/doc-build.sh,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** doc-build.sh 25 Mar 2006 16:29:15 -0000 1.5 --- doc-build.sh 29 Mar 2006 19:10:55 -0000 1.6 *************** *** 7,10 **** --- 7,11 ---- # HISTORY: 2006-03-20 mhnoyes Added error check code (Steve Parker) # http://steve-parker.org/sh/exitcodes.shtml + # HISTORY: 2006-03-29 mhnoyes Added local xml catalog #---------------------------------------- *************** *** 19,22 **** --- 20,25 ---- DB_XSL_CUST="/tmp/persistent/leaf/doc/docbook" LOCKFILE=leafcron.lock + export XML_CATALOG_FILES="/home/users/m/mh/mhnoyes/docbook-xml-4.4/catalog.xml /etc/xml/catalog" + # export XML_DEBUG_CATALOG= #---------------------------------------- *************** *** 45,48 **** --- 48,52 ---- export_documents () { + cd "$TMP_DIR" cvs "$PSERVER" -q export -D "$DATE" -d doc doc check_errors $? "CVS export error." *************** *** 51,54 **** --- 55,59 ---- validate_documents () { + cd "$TMP_DIR"/doc xmllint --noout --xinclude --postvalid --noent leaf-doc-set.xml check_errors $? "Document validation failure!" *************** *** 57,64 **** build_doc () { ! echo building $2 ! NAME=`basename $2 .xml` ! cd $1 ! xsltproc "$DB_XSL"/xhtml/chunk.xsl $2 } --- 62,67 ---- build_doc () { ! cd "$TMP_DIR"/doc ! xsltproc --xinclude "$DB_XSL"/xhtml/chunk.xsl leaf-doc-set.xml } *************** *** 96,100 **** echo --- echo Building Documentation ! # build_doc rm -f ~/$LOCKFILE \ No newline at end of file --- 99,103 ---- echo --- echo Building Documentation ! build_doc rm -f ~/$LOCKFILE \ No newline at end of file ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ leaf-cvs-commits mailing list leaf-cvs-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits