Changeset 420 in MondoRescue for branches/stable/tools/livwww


Ignore:
Timestamp:
Feb 21, 2006, 11:55:55 AM (14 years ago)
Author:
bcornec
Message:

First delivery of the Official Web site

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/livwww

    r417 r420  
    1717
    1818force=0
     19nodoc=0
    1920
    2021if [ "$1" = "-f" ]; then
    2122        force=1
    2223        optsvn=""
     24        shift
     25elif [ "$1" = "-nodoc" ]; then
     26        nodoc=1
     27        optsvn="--force"
    2328        shift
    2429else
     
    6469$TOOLHOME/expandver $LOCALDIR/top.shtml $LOCALDOC/mondorescue-howto.sgml $LOCALDOC/*.8
    6570
    66 cd $LOCALDOC
    67 make -f Makefile.howto
    68 make -f Makefile.man
    69 mv $LOCALDOC $LOCALDIR/docs
    70 #
    71 # Man pages corrections
    72 #
    73 perl -pi -e 's~/man8/~/docs/~g' $LOCALDIR/docs/*.8.html
    74 perl -pi -e 's~<A HREF[=./A-z0-9"]*/man1/[^<]*>([A-z0-9]*)</A>~$1~g' $LOCALDIR/docs/*.8.html
    75 perl -pi -e 's~/index.html~/index.shtml~' $LOCALDIR/docs/*.8.html
     71if [ $nodoc -eq 0 ]; then
     72    cd $LOCALDOC
     73    make -f Makefile.howto
     74    make -f Makefile.man
     75    mv $LOCALDOC $LOCALDIR/docs
     76    #
     77    # Man pages corrections
     78    #
     79    perl -pi -e 's~/man8/~/docs/~g' $LOCALDIR/docs/*.8.html
     80    perl -pi -e 's~<A HREF[=./A-z0-9"]*/man1/[^<]*>([A-z0-9]*)</A>~$1~g' $LOCALDIR/docs/*.8.html
     81    perl -pi -e 's~/index.html~/index.shtml~' $LOCALDIR/docs/*.8.html
     82fi
    7683find $LOCALDIR -type d | xargs chmod 755
    7784find $LOCALDIR -type f | xargs chmod 644
Note: See TracChangeset for help on using the changeset viewer.