From: Thibault Godouet Date: Tue, 16 May 2000 19:51:41 +0000 (+0000) Subject: cleaned up X-Git-Tag: ver2_9_4~731 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c250fd73c14ac8a7afb9ab4a09dd64f339d32437;p=thirdparty%2Ffcron.git cleaned up --- diff --git a/script/gen-doc b/script/gen-doc index d02f865..d985e3d 100755 --- a/script/gen-doc +++ b/script/gen-doc @@ -1,6 +1,6 @@ #!/bin/sh -# $Id: gen-doc,v 1.3 2000-05-15 19:51:01 thib Exp $ +# $Id: gen-doc,v 1.4 2000-05-16 19:51:41 thib Exp $ if test $UID -eq 0; then su $USER @@ -10,7 +10,7 @@ PREVIOUS=`cat ./VERSION` if test $PREVIOUS != $1; then - cd man + cd doc for i in * do if test $i != RCS; then @@ -19,34 +19,7 @@ if test $PREVIOUS != $1; then mv -f tmp $i rm -f tmp fi - done - - - cd ../doc - for i in * - do - if test $i != RCS; then - echo $i - sed -e "s:fcron version .* :fcron version $1 :" < $i > tmp - mv -f tmp $i - rm -f tmp - fi - done - - cd .. - + done fi -cd man -for i in * -do - if test $i != RCS; then - echo $i - groff -Thtml -mandoc $i > ./tmp - sed "s::\ -

$i


:I" < ./tmp > ../doc/$i.html - rm -f ./tmp - fi -done -