CVS: phpweather make-release.sh,1.5,1.6
Brought to you by:
iridium
From: Martin G. <gim...@us...> - 2002-08-26 13:04:49
|
Update of /cvsroot/phpweather/phpweather In directory usw-pr-cvs1:/tmp/cvs-serv4905 Modified Files: make-release.sh Log Message: Better release script. Index: make-release.sh =================================================================== RCS file: /cvsroot/phpweather/phpweather/make-release.sh,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- make-release.sh 20 May 2002 15:50:15 -0000 1.5 +++ make-release.sh 26 Aug 2002 13:04:46 -0000 1.6 @@ -15,19 +15,37 @@ echo -n "Cleaning... " -cd phpweather.$$ +cd phpweather.$$ || exit VERSION=$(cat VERSION) DATE=$(date -uI) -rm README-CVS VERSION make-release.sh $(find . -name '.cvsignore') +rm README-CVS VERSION make-release.sh usermap $(find . -name '.cvsignore') -for file in README INSTALL base_object.php; do +for file in README INSTALL base_object.php doc/src/phpweather.texi; do sed -e "s/#VERSION#/$VERSION/g" -e "s/#DATE#/$DATE/g" $file > tmp mv -f tmp $file done -cd .. +cd doc || exit + +texi2dvi src/phpweather.texi + +texi2pdf src/phpweather.texi + +texi2html src/phpweather.texi + +dvips phpweather.dvi -o + +makeinfo src/phpweather.texi + +makeinfo --no-headers src/phpweather.texi -o phpweather.txt + +for extension in aux cp cps fn ky log pg ps toc tp vr; do + rm phpweather.$extension +done + +cd ../.. mv phpweather.$$ phpweather-$VERSION |