summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorJulien Rioux <jrioux@physics.utoronto.ca>2011-12-19 17:52:46 -0500
committerJulien Rioux <jrioux@physics.utoronto.ca>2012-01-08 18:55:20 -0500
commit820c7ff5d380e8ca52057717ab3176b5e40107fd (patch)
tree687a1479479b61687f8f9f9a3efdcb59fb178047 /make
parent82efa40ed14c81d619624e2589523ddfd6fb7998 (diff)
Build: Try to convince `make' to keep intermediate files (issue 1906).
Diffstat (limited to 'make')
-rw-r--r--make/doc-i18n-root-rules.make2
-rw-r--r--make/stepmake.make3
2 files changed, 3 insertions, 2 deletions
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)))