vc/makeApidoxLoop.sh

13 lines
345 B
Bash
Raw Permalink Normal View History

2023-01-30 20:31:00 +08:00
#!/bin/sh
cd "`dirname "$0"`"
test -f .makeApidox.stamp || touch .makeApidox.stamp
while true; do
ls -l -t Vc/* doc/dox.h doc/examples.h Vc/common/*|head -n1 > .makeApidox.stamp.new
if ! diff -q .makeApidox.stamp.new .makeApidox.stamp; then
./makeApidox.sh
mv -f .makeApidox.stamp.new .makeApidox.stamp
else
sleep 1s
fi
done