blob: 036ea137c1805ca7dd65b731c5ee7077d65921db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#!/bin/sh
# This script will tell you if there are headers in the source tree
# that have not been installed in $PREFIX
LIST=""
for i in `find spa/include -name '*.h' | sed s#spa/include/##`;
do
[ -f $PREFIX/include/spa-0.2/$i ] || LIST="$i $LIST"
done
for i in `find src/extensions -name '*.h' | sed s#src/#pipewire/#`;
do
[ -f $PREFIX/include/pipewire-0.3/$i ] || LIST="$i $LIST"
done
for i in `find src/pipewire -name '*.h' -a -not -name '*private.h' | sed s#src/##`;
do
[ -f $PREFIX/include/pipewire-0.3/$i ] || LIST="$i $LIST"
done
for i in $LIST;
do
echo "$i not installed"
done
if [ "$LIST" != "" ];
then
exit 1
fi
exit 0
|