]> git.eshelyaron.com Git - emacs.git/commit
Simplify lib-src version printing
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 20 Jun 2019 15:56:22 +0000 (08:56 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 20 Jun 2019 15:57:25 +0000 (08:57 -0700)
commitb6af27927c2f06c5a091fbc1b04e819a70e0e2a2
tree3e227d83e43b2e94e1dad66590a2fd83b21f4871
parentde4e1bddb1c4823af4d04f0bff5b4a0217e9701d
Simplify lib-src version printing

* lib-src/Makefile.in (etags_cflags): Remove.
All uses replaced by a simple ‘-o $@’.
(ebrowse${EXEEXT}, emacsclient${EXEEXT}, emacsclientw${EXEEXT}):
Omit -DVERSION= option.
* lib-src/ebrowse.c (VERSION):
* lib-src/emacsclient.c (VERSION):
* lib-src/etags.c (EMACS_NAME, VERSION): Remove.
All uses replaced by PACKAGE_NAME and PACKAGE_VERSION.
* lib-src/ebrowse.c (version):
* lib-src/etags.c (print_version):
Use fputs to output the version info, since that’s fputs_unlocked.
* lib-src/etags.c (PROGRAM_NAME): New macro.
(print_version): Use it.
lib-src/Makefile.in
lib-src/ebrowse.c
lib-src/emacsclient.c
lib-src/etags.c