mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-20 02:10:12 +00:00
e54a2682fc
2006-10-05 Behdad Esfahbod <behdad@gnome.org> * gtk/Makefile.am, gtk/aliasfilescheck.sh: Propagate srcdir into the test correctly. (#359845)
12 lines
395 B
Bash
Executable File
12 lines
395 B
Bash
Executable File
#! /bin/sh
|
|
|
|
if test "x$gtk_all_c_sources" = x; then
|
|
echo gtk_all_c_sources variable not defined
|
|
exit 1
|
|
fi
|
|
|
|
grep 'IN_FILE' ${srcdir-.}/gtk.symbols | sed 's/.*(//;s/).*//' | grep __ | sort -u > expected-files
|
|
{ cd ${srcdir-.}; grep '^ *# *define __' $gtk_all_c_sources; } | sed 's/.*define //;s/ *$//' | sort > actual-files
|
|
|
|
diff expected-files actual-files && rm -f expected-files actual-files
|