Mercurial > octave
comparison libinterp/module.mk @ 21605:e6f76c393ad7
don't store build time in source file (bug #45659)
* build-info.h, build-info.in.cc (octave_build_time): Delete function.
* toplev.cc (F__octave_config_info__): Remove build_time field from
struct.
* libinterp/module.mk (libinterp/build-info.cc): Don't substitute
build time.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 11 Apr 2016 11:36:27 -0400 |
parents | 184b85b31e03 |
children | 37f6ed8a6f1b |
comparison
equal
deleted
inserted
replaced
21604:d7a268e68e69 | 21605:e6f76c393ad7 |
---|---|
265 | 265 |
266 libinterp/build-info.cc: libinterp/build-info.in.cc HG-ID | libinterp/$(octave-dirstamp) | 266 libinterp/build-info.cc: libinterp/build-info.in.cc HG-ID | libinterp/$(octave-dirstamp) |
267 $(AM_V_GEN)rm -f $@-t && \ | 267 $(AM_V_GEN)rm -f $@-t && \ |
268 $(SED) \ | 268 $(SED) \ |
269 -e "s|%NO_EDIT_WARNING%|DO NOT EDIT! Generated automatically by Makefile|" \ | 269 -e "s|%NO_EDIT_WARNING%|DO NOT EDIT! Generated automatically by Makefile|" \ |
270 -e "s|%OCTAVE_HG_ID%|`cat $(builddir)/HG-ID`|" \ | 270 -e "s|%OCTAVE_HG_ID%|`cat $(builddir)/HG-ID`|" $< > $@-t && \ |
271 -e "s|%OCTAVE_BUILD_TIME%|`date +%s`|" $< > $@-t && \ | |
272 $(simple_move_if_change_rule) | 271 $(simple_move_if_change_rule) |
273 | 272 |
274 libinterp/builtins.cc: $(DEF_FILES) libinterp/mkbuiltins | libinterp/$(octave-dirstamp) | 273 libinterp/builtins.cc: $(DEF_FILES) libinterp/mkbuiltins | libinterp/$(octave-dirstamp) |
275 $(AM_V_GEN)rm -f $@-t && \ | 274 $(AM_V_GEN)rm -f $@-t && \ |
276 $(SHELL) $(srcdir)/libinterp/mkbuiltins --source $(DEF_FILES) > $@-t && \ | 275 $(SHELL) $(srcdir)/libinterp/mkbuiltins --source $(DEF_FILES) > $@-t && \ |