mescc: Honor --includedir, --libdir.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 24 Nov 2019 10:14:14 +0000 (11:14 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 24 Nov 2019 10:14:14 +0000 (11:14 +0100)
commit2c2f03c9e44aa9f5659b27aee0dfc3470c8ef56d
treeffc6c738f43be0534885eaba0d4681912fddbc72
parentfee620cf5b96ac0f8b93f8e4620b6ddc6d5248fa
mescc: Honor --includedir, --libdir.

* guix/git/mes.scm (mes):
* module/mescc.scm (%includedir, %libdir): New variable.
(mescc:main): Add them to options.
* module/mescc/mescc.scm (mescc:preprocess, c->info): Add %includedir.
(arch-find): Use %libdir instead of
prefix-file.
(prefix-file): Remove.
* scripts/mescc.scm.in (%includedir, %libdir): Initialize from and set
in environment.

xx

* module/mescc/mescc.scm :
module/mescc.scm
module/mescc/mescc.scm
scripts/mescc.in
scripts/mescc.scm.in