Update of /cvsroot/leaf/sourceforge/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3593

Modified Files:
        doc-build.sh 
Log Message:
Some cleanup after testing

Index: doc-build.sh
===================================================================
RCS file: /cvsroot/leaf/sourceforge/admin/doc-build.sh,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** doc-build.sh        20 Mar 2006 19:50:56 -0000      1.3
--- doc-build.sh        25 Mar 2006 16:02:55 -0000      1.4
***************
*** 28,37 ****
  
  check_errors () {
-   # Function. Parameter 1 is the return code
-   # Para. 2 is text to display on failure.
    if [ "${1}" -ne "0" ]; then
      echo "ERROR # ${1} : ${2}"
      cleanup
!     rm -f $LOCKFILE
      exit ${1}
    fi
--- 28,35 ----
  
  check_errors () {
    if [ "${1}" -ne "0" ]; then
      echo "ERROR # ${1} : ${2}"
      cleanup
!     rm -f ~/$LOCKFILE
      exit ${1}
    fi
***************
*** 60,64 ****
    NAME=`basename $2 .xml`
    cd $1
!   xsltproc "$DB_XSL_CUST"/ldp-html-chunk.xsl $2
  }
  
--- 58,62 ----
    NAME=`basename $2 .xml`
    cd $1
!   xsltproc "$DB_XSL"/xhtml/chunk.xsl $2
  }
  
***************
*** 87,90 ****
--- 85,92 ----
  
  echo ---
+ echo Validating documents.
+ validate_documents
+ 
+ echo ---
  echo Converting man pages to html and pdf
  build_man
***************
*** 94,96 ****
  # build_doc
  
! rm -f $LOCKFILE
\ No newline at end of file
--- 96,98 ----
  # 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

Reply via email to