Mercurial > octave
comparison libinterp/module.mk @ 21600:184b85b31e03
more updates for version function
* toplev.cc (F__octave_config_info__): New fields, build_time,
fftw_version.
* oct-fftw.cc, oct-fftw.h (octave_fftw_version): New function.
* version.m: New option "-fftw". Fix release_date in tests
* module.mk (libinterp/build-info.cc): Update rule.
* build-info.h, build-info.in.cc (octave_build_date): Delete.
(octave_build_time): Return Unix time instead of local clock time.
author | mmuetzel <markus.muetzel@gmx.de> |
---|---|
date | Sun, 10 Apr 2016 15:33:43 -0400 |
parents | cf552443c104 |
children | e6f76c393ad7 |
comparison
equal
deleted
inserted
replaced
21599:f29d68e24c5a | 21600:184b85b31e03 |
---|---|
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`|" $< > $@-t && \ | 270 -e "s|%OCTAVE_HG_ID%|`cat $(builddir)/HG-ID`|" \ |
271 -e "s|%OCTAVE_BUILD_TIME%|`date +%s`|" $< > $@-t && \ | |
271 $(simple_move_if_change_rule) | 272 $(simple_move_if_change_rule) |
272 | 273 |
273 libinterp/builtins.cc: $(DEF_FILES) libinterp/mkbuiltins | libinterp/$(octave-dirstamp) | 274 libinterp/builtins.cc: $(DEF_FILES) libinterp/mkbuiltins | libinterp/$(octave-dirstamp) |
274 $(AM_V_GEN)rm -f $@-t && \ | 275 $(AM_V_GEN)rm -f $@-t && \ |
275 $(SHELL) $(srcdir)/libinterp/mkbuiltins --source $(DEF_FILES) > $@-t && \ | 276 $(SHELL) $(srcdir)/libinterp/mkbuiltins --source $(DEF_FILES) > $@-t && \ |