view build-aux/module.mk @ 32090:7d663f770c5a

load-path: Avoid using file_stat on Windows (bug #59711). * liboctave/system/oct-time.h, oct-time.cc (octave::sys::file_time): New class to handle an efficient native file time type per platform. * libinterp/corefcn/load-path.h (load_path::dir_info::dir_mtime, load_path::dir_info::dir_time_last_checked): Change type to new class. * libinterp/corefcn/load-path.cc (subdirs_modified, load_path::dir_info::update, load_path::dir_info::initialize): Avoid using file_stat on Windows.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 13 May 2023 13:33:57 +0200
parents b02de57ab5bb
children 48c2df4bb207
line wrap: on
line source

EXTRA_DIST += \
  %reldir%/OctJavaQry.class \
  %reldir%/OctJavaQry.java \
  %reldir%/changelog.tmpl \
  %reldir%/check-subst-vars.in.sh \
  %reldir%/find-defun-files.in.sh \
  %reldir%/find-files-with-tests.in.sh \
  %reldir%/get-source-mtime.sh \
  %reldir%/inplace_edit.pl \
  %reldir%/mk-hg-id.sh \
  %reldir%/mk-octave-config-h.sh \
  %reldir%/mk-opts.pl \
  %reldir%/mk-pkg-add.sh \
  %reldir%/move-if-change \
  %reldir%/subst-config-vals.in.sh \
  %reldir%/subst-cross-config-vals.in.sh \
  %reldir%/subst-script-vals.in.sh \
  %reldir%/update-bug-status.sh

GEN_CONFIG_SHELL += \
  %reldir%/subst-config-vals.sh \
  %reldir%/subst-cross-config-vals.sh \
  %reldir%/subst-script-vals.sh

$(GEN_CONFIG_SHELL) : %.sh : %.in.sh config.status
	$(AM_V_GEN)$(SHELL) config.status $@-tmp $@

GEN_CONFIG_INC = \
  oct-conf-post-private.h \
  oct-conf-post-public.h

$(GEN_CONFIG_INC) : %.h : %.in.h config.status
	$(AM_V_GEN)$(SHELL) config.status $@-tmp $@

### utility rules to aid development

ALL_TEST_FILES = \
  $(addprefix $(srcdir)/, $(LIBOCTAVE_TST_FILES_SRC)) \
  $(addprefix $(srcdir)/, $(LIBINTERP_TST_FILES_SRC)) \
  $(addprefix $(srcdir)/, $(FCN_FILES_WITH_TESTS)) \
  $(addprefix $(srcdir)/, $(TEST_FILES))

## Tag bug IDs in tests as fixed
update-bug-status:
	$(SHELL) $(srcdir)/%reldir%/update-bug-status.sh $(ALL_TEST_FILES)
.PHONY: update-bug-status