CVS: beepcore-c/documentation makedoc++.sh,1.4,1.5

Chris Hanson <[email protected]> Fri, 06 Sep 2002 20:18:55 -0700
Newsgroups gmane.network.beep.beepcore.c.cvs
Message-ID <[email protected]>
Update of /cvsroot/beepcore-c/beepcore-c/documentation
In directory usw-pr-cvs1:/tmp/cvs-serv27392

Modified Files:
	makedoc++.sh 
Log Message:
DOC++ is very picky about spaces in the comments; remove them from the
comments I rewrote in an earlier revision.


Index: makedoc++.sh
===================================================================
RCS file: /cvsroot/beepcore-c/beepcore-c/documentation/makedoc++.sh,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** makedoc++.sh	1 Jan 2002 00:25:15 -0000	1.4
--- makedoc++.sh	7 Sep 2002 03:18:53 -0000	1.5
***************
*** 7,23 ****
  T3=/tmp/makedoc$$c
  
! if [ ! -d $D ]; then
!     echo "$D doesn't exist or isn't a directory..." 1>&2
      exit 1
  fi
- (cd $D ; rm -f *)
  
! X=/usr/pkg/share/www/xml/etc/xml2rfc.tcl
! for A in Architecture.xml ProfileTutorial; do
!     echo "source $X; xml2html $A; exit" | tclsh
  done
! cp Architecture.html ProfileTutorial.html $D
  
! /usr/local/bin/doc++ --dir $D --html --quick doc++.dxx
  
  cd $D
--- 7,32 ----
  T3=/tmp/makedoc$$c
  
! if [ -d $D ]; then
!     (cd $D ; rm -f *)
! elif [ -e $D ]; then
!     echo "$D isn't a directory..." 1>&2
      exit 1
+ else
+     mkdir $D
  fi
  
! if [ -f /usr/local/share/xml2rfc.tcl ]; then
!     X=/usr/local/share/xml2rfc.tcl
! else
!     X=/usr/pkg/share/www/xml/etc/xml2rfc.tcl
! fi
! for A in Architecture ProfileTutorial; do
!     if [ "$A.xml" -nt "$A.html" ]; then
! 	echo "source $X; xml2html $A; exit" | tclsh
!     fi
  done
! cp Architecture.html ProfileTutorial.html $D/.
  
! doc++ --dir $D --html --quick doc++.dxx
  
  cd $D



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390