Commit 1e7cda5e authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

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.
parent e5196a59
2011-11-29 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Fix build failure during "make check" 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.
2011-11-28 Alexandre Duret-Lutz <adl@lrde.epita.fr>
* AUTHORS: Sort alphabetically.
......
......@@ -24,7 +24,7 @@ kripketestdir = $(pkgincludedir)/kripketest
kripketest_HEADERS =
LDADD = ../libspot.la ../../buddy/src/.libs/libbdd.so
LDADD = ../libspot.la
check_SCRIPTS = defs
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment