ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/config/fixdocs.sh
(Generate patch)

Comparing config/fixdocs.sh (file contents):
Revision 1.1 by sashby, Tue Apr 4 15:47:50 2006 UTC vs.
Revision 1.2 by sashby, Wed May 3 16:32:55 2006 UTC

# Line 3 | Line 3
3   # replaces the @DATE@ strings in the doc files
4   # with mtime for doxygen
5   #
6 < for i in src/*/*/doc/*.dox; do  
6 > ARG=$1
7 > for i in src/*/*/doc/*.dox; do
8 >  SUBPACK=`echo $i | cut -d "/" -f2,3`
9 >  CVTAG=`CmsTCPackageList.pl --pack $SUBPACK --rel $ARG | cut -d " " -f2`
10    DATUM=`/usr/bin/stat --format="%y" "$i" | cut -d " " -f1`
11 <  sed "s/@DATE@/$DATUM/g" "$i" > "${i/.dox}".doy
11 >  sed -e "s/@DATE@/$DATUM/g" \
12 >      -e "s/@CVS_TAG@/$CVTAG/g" "$i" > "${i/.dox}".doy
13   done

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines