From 416cf68fd1a1e59e1140e893c9e678fd3ae0c4ce Mon Sep 17 00:00:00 2001 From: Janet Anderson Date: Mon, 3 Dec 2012 09:33:08 -0600 Subject: [PATCH] Make target not first prerequisite depend on Makefile. --- configure/RULES.Db | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure/RULES.Db b/configure/RULES.Db index ba779589c..c66aef272 100644 --- a/configure/RULES.Db +++ b/configure/RULES.Db @@ -228,7 +228,7 @@ $(COMMON_DIR)/%Record.h: $(COMMON_DIR)/%Record.dbd $(COMMON_DIR)/%Record.h: %Record.dbd @$(RM) $(notdir $@)$(DEP) @$(DBDDEPENDS_CMD) - echo "$< : ../Makefile" >> $(notdir $@)$(DEP) + echo "$@ : ../Makefile" >> $(notdir $@)$(DEP) @$(RM) $(notdir $@) $(DBTORECORDTYPEH) $(DBDFLAGS) $< $(notdir $@) @$(MV) $(notdir $@) $@ @@ -244,7 +244,7 @@ $(COMMON_DIR)/menu%.h: $(COMMON_DIR)/menu%.dbd $(COMMON_DIR)/menu%.h: menu%.dbd @$(RM) $(notdir $@)$(DEP) @$(DBDDEPENDS_CMD) - echo "$< : ../Makefile" >> $(notdir $@)$(DEP) + echo "$@ : ../Makefile" >> $(notdir $@)$(DEP) @$(RM) $(notdir $@) $(DBTOMENUH) $(DBDFLAGS) $< $(notdir $@) @$(MV) $(notdir $@) $@ @@ -269,7 +269,7 @@ $(COMMON_DIR)/%.dbd: $(COMMON_DIR)/%Include.dbd $(COMMON_DIR)/%.dbd: %Include.dbd @$(RM) $(notdir $@)$(DEP) @$(DBDDEPENDS_CMD) - echo "$< : ../Makefile" >> $(notdir $@)$(DEP) + echo "$@ : ../Makefile" >> $(notdir $@)$(DEP) $(ECHO) "Expanding dbd" @$(RM) $(notdir $@) $(DBEXPAND) $(DBDFLAGS) -o $(notdir $@) $<