build: Support running out-of-tree.
authorJan Nieuwenhuizen <janneke@gnu.org>
Thu, 27 Dec 2018 15:36:39 +0000 (16:36 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Thu, 27 Dec 2018 15:36:39 +0000 (16:36 +0100)
* build-aux/pre-inst-env.in (MES_PREFIX): Use absolute name.

build-aux/pre-inst-env.in

index 7ae34ac7daea1523caeddf10521241694cae41b9..0ba9d8afbe7b1a98acd5ace24b3273bfdb4388ba 100644 (file)
@@ -24,7 +24,7 @@ abs_top_builddir="@abs_top_builddir@"
 prefix=${prefix-@prefix@}
 program_prefix=${program_prefix-@program_prefix@}
 
-MES_PREFIX=${MES_PREFIX-${srcdest}mes}
+MES_PREFIX=${MES_PREFIX-${abs_top_srcdir}/mes}
 export MES_PREFIX
 
 GUILE_LOAD_COMPILED_PATH="$abs_top_builddir/scripts:$abs_top_builddir/module${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"