mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-11-05 16:26:16 +00:00
33 lines
608 B
Bash
Executable file
33 lines
608 B
Bash
Executable file
#!/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/$i ] || LIST="$i $LIST"
|
|
done
|
|
|
|
for i in `find src/extensions -name '*.h' | sed s#src/#pipewire/#`;
|
|
do
|
|
[ -f $PREFIX/include/$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/$i ] || LIST="$i $LIST"
|
|
done
|
|
|
|
for i in $LIST;
|
|
do
|
|
echo "$i not installed"
|
|
done
|
|
|
|
if [ "$LIST" != "" ];
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
exit 0
|