diff options
| -rwxr-xr-x | regress/doc/listup_todo_jp.pl | 34 | ||||
| -rw-r--r-- | regress/simulation/Makefile | 24 |
2 files changed, 53 insertions, 5 deletions
diff --git a/regress/doc/listup_todo_jp.pl b/regress/doc/listup_todo_jp.pl new file mode 100755 index 00000000..ba34d3b7 --- /dev/null +++ b/regress/doc/listup_todo_jp.pl @@ -0,0 +1,34 @@ +#!/usr/bin/env perl +#-*- perl -*- +# +# $FML$ +# + +use strict; +use Carp; +use vars qw($debug $buf $in_q $in_a $question); + + LINE: + while ($buf = <>) { + if ($buf =~ /<question>/) { $in_q = 1; next LINE;} + if ($buf =~ /<\/question>/) { $in_q = 0; next LINE;} + if ($buf =~ /<answer>/) { $in_a = 1; next LINE;} + if ($buf =~ /<\/answer>/) { $in_a = 0; undef $question; next LINE;} + if ($buf =~ /^\s*\</) { + next LINE; + } + + if ($in_q) { + $question .= $buf; + next LINE; + } + + if ($in_a) { + if ($buf =~ /̤¼ÂÁõ/) { + print "[TODO] "; + print $question; + } + } + } + +exit 0; diff --git a/regress/simulation/Makefile b/regress/simulation/Makefile index 75fe882c..7b3ceda7 100644 --- a/regress/simulation/Makefile +++ b/regress/simulation/Makefile @@ -1,5 +1,5 @@ # -# $FML: Makefile,v 1.80 2005/10/08 04:20:50 fukachan Exp $ +# $FML: Makefile,v 1.81 2005/11/21 03:29:46 fukachan Exp $ # TMPFILE = /tmp/log.fml-devel.test @@ -27,6 +27,8 @@ check: @ echo " *********** 00_MEMO ********** " >> 33_TODO - grep '^\[TODO' 00_MEMO >> 33_TODO @ echo "" >> 33_TODO + @ make _doc_todo |tee -a 33_TODO + @ echo "" >> 33_TODO @ echo " *********** PERL SYNTAX CHECKS ********** " >> 33_TODO - (cd ../../fml; make check 2>&1 |\ grep -v 'syntax OK' |\ @@ -140,7 +142,19 @@ _doc_tutorial: (cd ../../fml/doc/en/tutorial;make -f Makefile.local) _doc_check: - (cd ../../fml/doc/ja/tutorial;make check) - (cd ../../fml/doc/en/tutorial;make check) - - + @ echo "" + @ echo "===> tutorial eheck (ja)" + @ (cd ../../fml/doc/ja/tutorial;make check) + @ echo "" + @ echo "" + @ echo "===> tutorial eheck (en)" + @ (cd ../../fml/doc/en/tutorial;make check) + @ echo "" + +_doc_todo: + @ echo "" + @ ( cd tutorial/ ;\ + perl ../../../../regress/doc/cat.pl |\ + perl ../../../../regress/doc/listup_todo_jp.pl;\ + ) + @ echo "" |
