From 0b143c14f68a16e99138296357e774e6d4ee0832 Mon Sep 17 00:00:00 2001 From: schodet Date: Wed, 12 Oct 2005 22:03:53 +0000 Subject: Ajout d'un test pour la regénération des docs AFT. Ajout de la génération de la todolist. --- d/sys/lampion/local/bin/update-svnco | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'd') diff --git a/d/sys/lampion/local/bin/update-svnco b/d/sys/lampion/local/bin/update-svnco index a377d2c..255a312 100755 --- a/d/sys/lampion/local/bin/update-svnco +++ b/d/sys/lampion/local/bin/update-svnco @@ -18,9 +18,13 @@ do done for i in $(scan-svnco txt) do - echo "AFT $i" - grep -q '^*Title' $i && aft $i && [[ -f $i-TOC ]] && aft $i + h=${i/.txt/.html} + if [[ ! -f $h || $i -nt $h ]]; then + echo "AFT $i" + grep -q '^*Title' $i && aft $i && [[ -f $i-TOC ]] && aft $i + fi done +(cd $svncodir/p/tools && ./todo.pl -f html > todo.html) exec 1> $readme -- cgit v1.2.3