| diff -aruN a/Makefile.in b/Makefile.in | |
| --- a/Makefile.in 2010-10-20 18:16:18.000000000 -0700 | |
| +++ b/Makefile.in 2010-11-05 09:25:40.041847746 -0700 | |
| @@ -1088,7 +1088,14 @@ | |
| default.supp: $(DEFAULT_SUPP_FILES) | |
| echo "# This is a generated file, composed of the following suppression rules:" > default.supp | |
| echo "# " $(DEFAULT_SUPP_FILES) >> default.supp | |
| - cat $(DEFAULT_SUPP_FILES) >> default.supp | |
| + for file in $(DEFAULT_SUPP_FILES); do \ | |
| + if [ -r $(srcdir)/$$file ]; then \ | |
| + path=$(srcdir)/$$file; \ | |
| + else \ | |
| + path=$(builddir)/$$file; \ | |
| + fi; \ | |
| + cat $$path >> default.supp; \ | |
| + done | |
| regtest: check | |
| @PERL@ tests/vg_regtest $(TEST_TOOLS) $(TEST_EXP_TOOLS) |