Mercurial > octave
comparison configure.ac @ 21598:cf552443c104
revise method of handling hg id for build info
* Makefile.am (HG-ID): New target and file to distribute.
* build-info.h: Don't include config.h.
* build-info.in.cc: Strip CR from line endings.
* build-info.h, build-info.in.cc
(octave_hg_id): Rename from oct_hg_id.
(octave_build_date): Rename from oct_build_date.
(octave_build_time): Rename from oct_build_time.
Change all callers.
* toplev.cc (F__octave_config_info__): Rename fields: builddate to
build_date, buildtime to build_time, hgid to hg_id, and releasedate to
* libinterp/module.mk (upate_hg_id): Delete rule.
(octinclude_HEADERS): Include build-info.h in the list.
(BUILT_SOURCES): Remove update_hg_id from the list.
(libinterp/build-info.cc): Don't depend on build-aux/mk-build-info.sh.
Depend on HG-ID instead of libinterp/hg.id. Call sed directly here
instead of using a shell script.
* build-aux/mk-build-info-cc.in.sh: Delete.
* Makefile.am (EXTRA_DIST): Remove build-aux/mk-build-info-cc.sh.in
from the list.
(GEN_CONFIG_SHELL): Remove build-aux/mk-build-info-cc.sh
from the list.
* configure.ac (OCTAVE_CONFIG_MOVE_IF_CHANGE_FILES): Remove
build-aux/mk-build-info-cc.sh from the list.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 09 Apr 2016 18:58:28 -0400 |
parents | fe1447ae68cf |
children | f458313c0de4 |
comparison
equal
deleted
inserted
replaced
21597:fe1447ae68cf | 21598:cf552443c104 |
---|---|
3397 OCTAVE_CONFIG_MOVE_IF_CHANGE_FILES([ | 3397 OCTAVE_CONFIG_MOVE_IF_CHANGE_FILES([ |
3398 build-aux/mk-default-qt-settings.sh | 3398 build-aux/mk-default-qt-settings.sh |
3399 build-aux/mk-f77-def.sh | 3399 build-aux/mk-f77-def.sh |
3400 build-aux/mk-mxarray-h.sh | 3400 build-aux/mk-mxarray-h.sh |
3401 build-aux/mk-version-h.sh | 3401 build-aux/mk-version-h.sh |
3402 build-aux/mk-build-info-cc.sh | |
3403 build-aux/subst-config-vals.sh | 3402 build-aux/subst-config-vals.sh |
3404 build-aux/subst-cross-config-vals.sh | 3403 build-aux/subst-cross-config-vals.sh |
3405 build-aux/subst-default-vals.sh | 3404 build-aux/subst-default-vals.sh |
3406 build-aux/subst-f77-isnan-macro.sh | 3405 build-aux/subst-f77-isnan-macro.sh |
3407 build-aux/subst-script-vals.sh]) | 3406 build-aux/subst-script-vals.sh]) |