doxygen docu
[oweals/gnunet.git] / contrib / Makefile.am
index eacfa8295f614542cc2a798933af6dfd00ba66d8..f36922b202c9d6444d664963cb856632acffb0a0 100644 (file)
@@ -83,7 +83,7 @@ check_PROGRAMS = \
  test_gnunet_prefix
 
 if ENABLE_TEST_RUN
-TESTS_ENVIRONMENT=export GNUNET_PREFIX=@prefix@;export PATH=@prefix@/bin:$$PATH;
+AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
 TESTS = $(check_PROGRAMS)
 endif