From 3e371da8ec327509621845c8c4a67c1e9cb61462 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Mon, 28 Mar 2022 00:07:21 -0500 Subject: [PATCH] RULES_EXPAND: Keep intermediate files This prevents GNUmake from recreating expanded files such as databaseVersion.h at every build. --- configure/RULES_EXPAND | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure/RULES_EXPAND b/configure/RULES_EXPAND index 16c299c6d..fcb945df3 100644 --- a/configure/RULES_EXPAND +++ b/configure/RULES_EXPAND @@ -70,12 +70,12 @@ $(EXPANDED_COM): %: %@ @$(RM) $@ $(EXPAND_TOOL) $(EXPANDFLAGS) $($@_EXPANDFLAGS) $< $@ $(EXPANDED_COMMON): $(COMMON_DIR)/%: % - @$(MV) $< $@ + @$(CP) $< $@ clean: expand_clean expand_clean: - @$(RM) $(EXPANDED) $(EXPANDED_COMMON) + @$(RM) $(EXPANDED) $(EXPANDED_COMMON) $(EXPANDED_COM) .PRECIOUS: $(EXPANDED) $(EXPANDED_COMMON) .PHONY: expand_clean