ruby/template/GNUmakefile.in
Nobuyoshi Nakada 7a976c1060
[Bug #19181] Separate the rule for unicode_normalize/tables.rb timestamp
It should depends on only existing data files (except for the tools),
unless `ALWAYS_UPDATE_UNICODE=yes`.
2022-12-10 13:58:20 +09:00

35 lines
812 B
Makefile

gnumake = yes
ifeq ($(filter Makefile,$(MAKEFILE_LIST)),)
include Makefile
GNUmakefile: $(srcdir)/template/GNUmakefile.in
endif
override silence := $(if $(findstring s,$(firstword $(MFLAGS))),yes,no)
ifeq ($(HAVE_BASERUBY),yes)
override REVISION_FORCE := PHONY
endif
override order_only := |
ifneq ($(filter notintermediate,$(.FEATURES)),)
DOT_WAIT = .WAIT
endif
# Needs the dependency when any Unicode tables data files exist.
override UNICODE_TABLES_DEPENDENTS = \
$(if $(or \
$(filter yes,$(ALWAYS_UPDATE_UNICODE)), \
$(wildcard \
$(if $(filter .,$(UNICODE_FILES) $(UNICODE_PROPERTY_FILES)),,\
$(UNICODE_TABLES_DATA_FILES)))),\
force,none)
include $(srcdir)/defs/universal.mk
-include uncommon.mk
include $(srcdir)/defs/gmake.mk
GNUmakefile: $(srcdir)/template/GNUmakefile.in