2 header=fontconfig-header
4 trap "rm $header $doc" 0 1 15
5 top_srcdir=${top_srcdir-".."}
7 cat $top_srcdir/fontconfig/*.h | grep '^Fc' |
8 grep -v FcPublic | sed 's/[^a-zA-Z0-9].*//';
9 cat $top_srcdir/fontconfig/*.h |
10 sed -n 's/#define \(Fc[a-zA-Z]*\)(.*$/\1/p') |
13 grep '@FUNC[+]*@' $top_srcdir/doc/*.fncs |
17 if cmp $doc $header > /dev/null; then
22 'Library Export Documentation'
23 diff -y $header $doc | grep '[<>]'