File: makeApidoxLoop.sh

package info (click to toggle)
vc 1.4.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,552 kB
  • sloc: cpp: 19,220; ansic: 15,669; sh: 453; xml: 186; makefile: 30
file content (12 lines) | stat: -rwxr-xr-x 345 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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