Reviewers: ,
Message:
This could possibly fix the recurring issues with parallel make. However
if `make -jX' does not obey the .SECONDARY: construct then we are not
any better off.
Description:
Build: Try to convince `make' to keep intermediate files.
Possible fix to issue 1906.
Please review this at http://codereview.appspot.com/5490077/
Affected files:
M Documentation/GNUmakefile
M Documentation/topdocs/GNUmakefile
M make/doc-i18n-root-rules.make
M make/stepmake.make
M stepmake/stepmake/texinfo-rules.make
Index: Documentation/GNUmakefile
diff --git a/Documentation/GNUmakefile b/Documentation/GNUmakefile
index
00b4eeb4e415111d8e4dc790be673973042c0baf..569c732e3cdb918123dac5cf8a455a2cef73a72c
100644
--- a/Documentation/GNUmakefile
+++ b/Documentation/GNUmakefile
@@ -380,5 +380,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:
Index: Documentation/topdocs/GNUmakefile
diff --git a/Documentation/topdocs/GNUmakefile
b/Documentation/topdocs/GNUmakefile
index
037cc39f1ae753310d903e5db8f4442c4d705911..ce3dc1f42beec03241cb71d546e8b2f99dd37385
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:
Index: make/doc-i18n-root-rules.make
diff --git a/make/doc-i18n-root-rules.make b/make/doc-i18n-root-rules.make
index
fc01d8c887884497d21f4316e15e16aebdf86286..cc632be6d95351f6ce97e51b44a6e6d69fdfe551
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:
Index: make/stepmake.make
diff --git a/make/stepmake.make b/make/stepmake.make
index
604341be638c6b0d0ec55ed27a599ae38e6b26c8..1de2e2b2d0df4ab0ba60b5888b31168cb361bc01
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)))
Index: stepmake/stepmake/texinfo-rules.make
diff --git a/stepmake/stepmake/texinfo-rules.make
b/stepmake/stepmake/texinfo-rules.make
index
83120ed87fb7e9a3684cc7c9d1dc7eef424ac9bc..28e3db0308b3eb177dacb5537457b72cba2370d9
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:
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel