summaryrefslogtreecommitdiff
path: root/doc/find_public_interface.sh
blob: 4609846f73c4bbc92297344dcf41f90d2d2a332d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
#
# Enumerates public interface headers, so that public-only documentation
# can be produced.
#

cd "$(dirname "$0")"

echo -n "\"$srcdir/src/include/cvc4.h\" "
echo -n "\"$srcdir/src/include/cvc4_public.h\" "
( (find "$builddir" -name '*.h' | xargs grep -l '^# *include  *"cvc4.*_public\.h"'); \
  (find "$srcdir" -name '*.h' | xargs grep -l '^# *include  *"cvc4.*_public\.h"'); \
) | \
while read f; do
  if expr "$f" : ".*_\(template\|private\|test_utils\)\.h$" &>/dev/null; then
    continue
  fi
  echo -n "\"$f\" "
done

generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback