Ignore:
Timestamp:
Feb 17, 2006, 3:37:04 PM (14 years ago)
Author:
bcornec
Message:
  • Integrate some SuSE patches and spec tips
  • all the doc is now under documentation (man pages, pdf, generated doc)
  • delivery process adapted consequently
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/livwww

    r400 r401  
    99#
    1010LOCALDIR=/var/www/html/mondo
     11LOCALDOC=/var/www/html/mondo-doc
    1112DESTUSER=apache
    1213MONDODIR=/mondo/www/html/mondo
    1314TESTDIR=/mondo/www/html/test
     15
     16force=0
     17
     18if [ "$1" = "-f" ]; then
     19        force=1
     20        shift
     21fi
    1422
    1523/sbin/ifconfig | grep -q 10.3 2>&1 > /dev/null
     
    3038. $TOOLHOME/common-env
    3139
     40cd ${BASE}/svn
     41
    3242rm -rf $LOCALDIR
    33 cp -a ${BASE}/svn/${VER}/website $LOCALDIR
    34 (cd ${BASE}/svn/${VER}/documentation ; make)
    35 mkdir -p $LOCALDIR/docs
    36 cp -a ${BASE}/svn/${VER}/documentation/* $LOCALDIR/docs
     43svn export ${VER}/website $LOCALDIR
     44
     45rm -rf $LOCALDOC
     46svn export ${VER}/documentation $LOCALDOC
     47cd $LOCALDOC
     48make -f Makefile.howto
     49make -f Makefile.man
     50mv $LOCALDOC $LOCALDIR/docs
    3751#
    3852# Man pages corrections
     
    4155perl -pi -e 's~<A HREF[=./A-z0-9"]*/man1/[^<]*>([A-z0-9]*)</A>~$1~g' $LOCALDIR/docs/*.8.html
    4256perl -pi -e 's~/index.html~/index.shtml~' $LOCALDIR/docs/*.8.html
     57#
     58# Version handling
     59#
     60perl -pi -e "s~VVV-rRRR~${VER}-r${REVISION}~g" $LOCALDIR/head.shtml
     61
    4362find $LOCALDIR -type d | xargs chmod 755
    4463find $LOCALDIR -type f | xargs chmod 644
Note: See TracChangeset for help on using the changeset viewer.