Fix build on MacOS X.
* src/kripketest/Makefile.am (LDADD): Remove a broken dependency. Reported by Yann Thierry-Mieg. * src/sanity/style.test: Make sure it does not appear again.
This commit is contained in:
parent
e5196a5943
commit
1e7cda5e05
3 changed files with 30 additions and 1 deletions
|
|
@ -216,6 +216,27 @@ for dir in "${INCDIR-..}" "${INCDIR-..}"/../iface; do
|
|||
done || : # Make sure sh does not abort when read exits with false.
|
||||
done
|
||||
|
||||
|
||||
# Rules for Makefiles.
|
||||
for dir in "${INCDIR-..}" "${INCDIR-..}"/../iface; do
|
||||
|
||||
find "$dir" -name "Makefile.am" -a -type f -a -print |
|
||||
while read file; do
|
||||
fail=false
|
||||
|
||||
# Strip comments.
|
||||
sed 's,#.*,,' < $file > $tmp
|
||||
|
||||
grep '[ ]$' $tmp &&
|
||||
diag 'Trailing whitespace.'
|
||||
|
||||
grep '\.libs/' $tmp &&
|
||||
diag "Don't reference files in .libs/, use Libtool instead."
|
||||
|
||||
$fail && echo "$file" >>failures
|
||||
done || : # Make sure sh does not abort when read exits with false.
|
||||
done
|
||||
|
||||
if test -f failures; then
|
||||
echo "The following files contain style errors:"
|
||||
cat failures
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue