ref: 0d70a21c6f98575984c28f4e98a1fbf929195456
parent: 09d7388c8ad5701ed9c59d1d600ff6154b066397
author: Jiri Kucera <jkucera@redhat.com>
date: Thu Jan 25 16:53:30 EST 2018
make: add $(DESTDIR) in installcheck target [bug #302] This ensures the proper sox binary is invoked during tests.
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -194,6 +194,6 @@
# would run the test suite, but an uninstalled libltdl build cannot
# currently load its formats and effects, so the checks would fail.
installcheck:
- $(srcdir)/tests.sh --bindir=${bindir} --builddir=${builddir} --srcdir=${srcdir}
- $(srcdir)/testall.sh --bindir=${bindir} --srcdir=${srcdir}
+ $(srcdir)/tests.sh --bindir=$(DESTDIR)${bindir} --builddir=${builddir} --srcdir=${srcdir}
+ $(srcdir)/testall.sh --bindir=$(DESTDIR)${bindir} --srcdir=${srcdir}