|
|
Choosing A Webhost: |
r30 - trunk/doc: msg#00024video.vidprofile.cvs
Author: friedrij Date: 2005-12-06 16:09:05 +0100 (Tue, 06 Dec 2005) New Revision: 30 Modified: trunk/doc/mkdocs trunk/doc/pkdocs Log: streamlining mkdocs and pkdocs Modified: trunk/doc/mkdocs =================================================================== --- trunk/doc/mkdocs 2005-12-06 13:25:41 UTC (rev 29) +++ trunk/doc/mkdocs 2005-12-06 15:09:05 UTC (rev 30) @@ -4,6 +4,8 @@ # input files. See http://txt2tags.sourceforge.net/ for # documentation on the input format. +ME="[mkdocs ]:" + SOURCE="./src" HTML_DEST="./html" MAN_DEST="." @@ -12,14 +14,16 @@ TOHTML_OPTS="-t xhtml" TOHTML_FILES=`find $SOURCE -name "*.t2t" -and -not -name "incl-*.t2t" | sort` -rm -vf $HTML_DEST/*.html -rm -vf $MAN_DEST/*.man +rm -f $HTML_DEST/*.html +rm -f $MAN_DEST/*.man +echo "$ME Making html files..." + for FILE in $TOHTML_FILES do INFILE="--infile=$FILE" OUTFILE="--outfile=$HTML_DEST/`basename $FILE .t2t`.html" - txt2tags $TOHTML_OPTS $INFILE $OUTFILE + txt2tags $TOHTML_OPTS $INFILE $OUTFILE >> /dev/null done # Generate manpages @@ -28,11 +32,16 @@ src/vidpsnr.t2t \ src/psnrcore.t2t" +echo "$ME Making man pages..." + for FILE in $TOMAN_FILES do INFILE="--infile=$FILE" OUTFILE="--outfile=$MAN_DEST/`basename $FILE .t2t`.man" - txt2tags $TOMAN_OPTS $INFILE $OUTFILE + txt2tags $TOMAN_OPTS $INFILE $OUTFILE >> /dev/null done +echo "$ME Docs made!" +echo + exit 0 \ No newline at end of file Modified: trunk/doc/pkdocs =================================================================== --- trunk/doc/pkdocs 2005-12-06 13:25:41 UTC (rev 29) +++ trunk/doc/pkdocs 2005-12-06 15:09:05 UTC (rev 30) @@ -3,6 +3,8 @@ # pkdocs # Pack up the html documentation for the vidprofile suite +ME="[pkdocs ]:" + HTML_TAR="vidprofile-html-docs.tar" HTML_GZ="vidprofile-html-docs.tar.gz" HTML_DIR="html" @@ -13,31 +15,30 @@ PKDOCS_PWD=`pwd` +echo "$ME Executing mkdocs..." +echo $PKDOCS_PWD/mkdocs -echo -echo "Packing html files..." -echo +echo "$ME Packing html files..." cd $PKDOCS_PWD/$HTML_DIR -rm -fv $HTML_GZ -tar -cvvf $HTML_TAR *.html *.php *.css fig/* -gzip -v $HTML_TAR -rm -fv $HTML_TAR +rm -f $HTML_GZ +tar -cf $HTML_TAR *.html *.php *.css fig/* +gzip $HTML_TAR +rm -f $HTML_TAR -echo -echo "Packing t2t files..." -echo +echo "$ME Packing t2t files..." cd $PKDOCS_PWD/$T2T_DIR -rm -fv $T2T_GZ -tar -cvvf $T2T_TAR *.t2t *.html -gzip -v $T2T_TAR -rm -fv $T2T_TAR -mv -v $T2T_GZ $PKDOCS_PWD/$HTML_DIR +rm -f $T2T_GZ +tar -cf $T2T_TAR *.t2t *.html +gzip $T2T_TAR +rm -f $T2T_TAR +mv $T2T_GZ $PKDOCS_PWD/$HTML_DIR +echo "$ME Docs packed!" echo exit 0 \ No newline at end of file
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | r29 - trunk/doc, friedrij at BerliOS |
|---|---|
| Next by Date: | r31 - trunk/doc/src, friedrij at BerliOS |
| Previous by Thread: | r29 - trunk/doc, friedrij at BerliOS |
| Next by Thread: | r31 - trunk/doc/src, friedrij at BerliOS |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |