From 63a799b986670ec4561a81423cf156965af221e5 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 08 Sep 2012 21:39:54 -0400 Subject: Pass DESTDIR macro into environment of unit tests. --- diff --git a/Makefile.in b/Makefile.in index db23443..15d761e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -89,7 +89,7 @@ uninstall: test: @printf 'Running tests...\n' - @cd tests & $(MAKE) test + @cd tests & $(MAKE) $(MACROS) test $(distdir): @mkdir -p '$(distdir)' diff --git a/tests/Makefile.in b/tests/Makefile.in index d686b66..5c03a37 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -30,4 +30,4 @@ test: $(TESTS) $(TESTS): @printf ' SH tests/%s.sh\n' '$@' - @$(SH) 'tests/$@.sh' + @DESTDIR='$(DESTDIR)' $(SH) 'tests/$@.sh' -- cgit v0.9.1