Remove hardcoded duplication of version.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 25 Dec 2016 14:38:26 +0000 (15:38 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 25 Dec 2016 14:38:26 +0000 (15:38 +0100)
commit41207c663e43dff1bb5b27743492ca1ede8a5d35
tree8475ebdc0e342fbad8ba6d9efe9a8d5b174856db
parent67c2f1537b87645f3d6b900389cadcb7c6a5719c
Remove hardcoded duplication of version.

* GNUmakefile (CPPFLAGS): Include VERSION.
* mes.c (main): Use it.  Add --dump and --load to --help.
  (scm_symbol_mes_prefix, scm_symbol_mes_version): New sybols.
  (mes_symbols): Use them to set prefix and version.
* module/mes/base-0.mes (effective-version): Use %version.
* module/mes/repl.mes (welcome): Likewise.
GNUmakefile
mes.c
module/mes/base-0.mes
module/mes/repl.mes