From 820c7ff5d380e8ca52057717ab3176b5e40107fd Mon Sep 17 00:00:00 2001 From: Julien Rioux Date: Mon, 19 Dec 2011 17:52:46 -0500 Subject: [PATCH] Build: Try to convince `make' to keep intermediate files (issue 1906). --- Documentation/GNUmakefile | 2 -- Documentation/topdocs/GNUmakefile | 2 -- make/doc-i18n-root-rules.make | 2 -- make/stepmake.make | 3 +++ stepmake/stepmake/texinfo-rules.make | 3 --- 5 files changed, 3 insertions(+), 9 deletions(-) diff --git a/Documentation/GNUmakefile b/Documentation/GNUmakefile index d1989f9988..22da2d8fa8 100644 --- a/Documentation/GNUmakefile +++ b/Documentation/GNUmakefile @@ -371,5 +371,3 @@ update-translation: # what's it gonna be, boy...tranlationS-/translation- translation-status: PYTHONPATH=$(top-src-dir)/python:$(top-src-dir)/python/auxiliar $(PYTHON) $(top-src-dir)/scripts/auxiliar/translations-status.py - -.SECONDARY: diff --git a/Documentation/topdocs/GNUmakefile b/Documentation/topdocs/GNUmakefile index 037cc39f1a..ce3dc1f42b 100644 --- a/Documentation/topdocs/GNUmakefile +++ b/Documentation/topdocs/GNUmakefile @@ -16,5 +16,3 @@ $(outdir)/NEWS.tely: $(top-src-dir)/Documentation/changes.tely ifeq ($(out),www) local-WWW-1: $(OUT_TEXI_FILES) endif - -.SECONDARY: diff --git a/make/doc-i18n-root-rules.make b/make/doc-i18n-root-rules.make index d113cf68eb..3cdd664471 100644 --- a/make/doc-i18n-root-rules.make +++ b/make/doc-i18n-root-rules.make @@ -53,5 +53,3 @@ $(outdir)/index.$(ISOLANG).html: TEXI2HTML_SPLIT = $(WEB_TEXI2HTML_SPLIT) $(outdir)/index.$(ISOLANG).html: DEPTH=$(depth) $(TEXI2HTML) $(TEXI2HTML_FLAGS) $(TEXI2HTML_SPLIT) --output=$(outdir)/ web.texi find $(outdir)/ -name '*.html' | xargs grep -L 'UNTRANSLATED NODE: IGNORE ME' | sed 's!$(outdir)/!!g' | xargs $(buildscript-dir)/mass-link --prepend-suffix .$(ISOLANG) hard $(outdir) $(top-build-dir)/Documentation/$(outdir) - -.SECONDARY: diff --git a/make/stepmake.make b/make/stepmake.make index 604341be63..1de2e2b2d0 100644 --- a/make/stepmake.make +++ b/make/stepmake.make @@ -108,6 +108,9 @@ ifeq ($(BUILTINS_REMOVED),) endif .SUFFIXES: +# Keep this empty to prevent make from removing intermediate files. +.SECONDARY: + all: -include $(addprefix $(depth)/make/,$(addsuffix -inclusions.make, $(LOCALSTEPMAKE_TEMPLATES))) diff --git a/stepmake/stepmake/texinfo-rules.make b/stepmake/stepmake/texinfo-rules.make index 83120ed87f..28e3db0308 100644 --- a/stepmake/stepmake/texinfo-rules.make +++ b/stepmake/stepmake/texinfo-rules.make @@ -84,6 +84,3 @@ $(outdir)/version.%: $(top-src-dir)/VERSION $(outdir)/weblinks.%: $(top-src-dir)/VERSION $(PYTHON) $(top-src-dir)/scripts/build/create-weblinks-itexi.py > $@ - -# Keep this empty to prevent make from removing intermediate files. -.SECONDARY: -- 2.39.2