mescc: Allow invoking git mescc.mes from elsewhere.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sat, 9 Dec 2017 21:38:51 +0000 (22:38 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sat, 9 Dec 2017 21:38:51 +0000 (22:38 +0100)
commita2f6511f5e39619063d47dc3a994e46132d1588f
treecb3f207c011c9bf6b4065f8f13fe21f26a2bb755
parentccddde9a845dc7819df56554e0687f0f470cf94c
mescc: Allow invoking git mescc.mes from elsewhere.

* src/mes.c (load_env): Look in MES_PREFIX too.  Add debug printing.
* scripts/mescc.mes: Consider MES_PREFIX.
* guile/mescc.scm (%prefix): Consider MES_PREFIX.
* module/mes/base-0.mes (string->list): New function, move from type-0.mes.
  (%moduledir): Consider MES_PREFIX.
* module/mes/type-0.mes (string->list): Remove.
guile/mescc.scm
module/mes/base-0.mes
module/mes/type-0.mes
scripts/mescc.mes
src/mes.c