aboutsummaryrefslogtreecommitdiffstats
path: root/eazel-engine/check-data.sh
blob: 74637d94f9b4cf074731c1adcd11c207ac672856 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

# script to check that all image files are listed in the correct
# Makefile.am

images=`grep \.png gtkrc.in | sed -e 's/^.*image *= *"\(.*\)".*$/\1/'`

missing=no

for f in $images; do
  fgrep $f data/Makefile.am >/dev/null \
      || { missing=yes; echo "data/Makefile.am is missing $f"; }
done

if [ $missing != no ]; then
  exit 1
else
  exit 0
fi