summaryrefslogtreecommitdiff
path: root/d/sys/lampion/local/bin
diff options
context:
space:
mode:
Diffstat (limited to 'd/sys/lampion/local/bin')
-rwxr-xr-xd/sys/lampion/local/bin/update-svnco8
1 files changed, 6 insertions, 2 deletions
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