From e6f4d6e723924157b105f10afac9a0678798684c Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Tue, 30 Mar 2004 22:50:17 +0000 Subject: [PATCH] ($(outdir)/dummy.dep): Reinstate old code that issues warning. Fixes --srcdir build. --- ChangeLog | 5 +++++ stepmake/stepmake/generic-targets.make | 11 ++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index d5348b9b73..832c6a7e79 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-03-31 Jan Nieuwenhuizen + + * stepmake/stepmake/generic-targets.make ($(outdir)/dummy.dep): + Reinstate old code that issues warning. Fixes --srcdir build. + 2004-03-30 Jan Nieuwenhuizen * input/wilhelmus.ly: New file. diff --git a/stepmake/stepmake/generic-targets.make b/stepmake/stepmake/generic-targets.make index 8ab38cb887..73715910e6 100644 --- a/stepmake/stepmake/generic-targets.make +++ b/stepmake/stepmake/generic-targets.make @@ -139,12 +139,13 @@ installextradoc: $(foreach i, $(EXTRA_DOC_FILES),\ cp -r $(i) $(prefix)/doc/$(package) &&) true -# force $(outdir) and dummy.dep into existence -ifeq ($(strip $(wildcard $(outdir)/dummy.dep)),) -unused-var:=$(shell mkdir -p $(outdir); touch $(outdir)/dummy.dep) -endif -include $(outdir)/dummy.dep $(wildcard $(outdir)/*.dep) +include $(outdir)/dummy.dep $(wildcard $(outdir)/*.dep) # expect a warning here + +$(outdir)/dummy.dep: + @echo please ignore innocent warning about dummy.dep + -mkdir -p $(outdir) + touch $(outdir)/dummy.dep check: local-check $(LOOP) -- 2.39.5