summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Rioux <jrioux@physics.utoronto.ca>2012-02-21 05:38:10 -0500
committerJulien Rioux <jrioux@physics.utoronto.ca>2012-02-22 09:11:48 -0500
commita6eae16f672eba5b33e783481d6a9f94502b50e0 (patch)
treef9c067b52508d02dbd2f361e72e558e7fb536569
parentac45f622a1b01a089c056d021741e92933161f82 (diff)
Build: Remove .PRECIOUS flags.
Since 820c7ff5d380e8ca52057717ab3176b5e40107fd all files are treated as .SECONDARY files. This means that `make' will not delete files that it identifies as intermediate files, which would be it's default behavior otherwise. Currently, lexer and parser files, some font files, and some postscript files are treated as .PRECIOUS in the build. This means that `make' will never delete these files, even when the rule for creating them failed. It seems that these files were flagged as .PRECIOUS in order to keep them around after a successful build, preventing `make' from removing them. But treating these files as .SECONDARY is sufficient for this purpose. The .PRECIOUS flag introduces potential problems that we would rather avoid.
-rw-r--r--lily/GNUmakefile6
-rw-r--r--make/mutopia-targets.make3
-rw-r--r--mf/GNUmakefile2
3 files changed, 0 insertions, 11 deletions
diff --git a/lily/GNUmakefile b/lily/GNUmakefile
index ea7785b947..1872af74ce 100644
--- a/lily/GNUmakefile
+++ b/lily/GNUmakefile
@@ -86,9 +86,3 @@ $(outdir)/relocate.o: $(outdir)/version.hh
$(outdir)/warn-scheme.o: $(outdir)/version.hh
local-po: $(outdir)/parser.cc
-
-# ugh. For --srcdir builds, these must exist to satisfy their broken
-# lexer.dep and parser.dep file entries.
-ifneq ($(configure-srcdir),.)
-.PRECIOUS: $(outdir)/lexer.cc $(outdir)/parser.cc
-endif
diff --git a/make/mutopia-targets.make b/make/mutopia-targets.make
index 4eeb80ed0c..0d49357e46 100644
--- a/make/mutopia-targets.make
+++ b/make/mutopia-targets.make
@@ -1,8 +1,5 @@
.PHONY: download mutopia png ps scores tar
-.PRECIOUS: $(outdir)/%.ps $(outdir)/%-book.ps
-.PRECIOUS: $(outdir)-letter/%.ps
-
all:
diff --git a/mf/GNUmakefile b/mf/GNUmakefile
index 97bcd42ef4..ad397159c3 100644
--- a/mf/GNUmakefile
+++ b/mf/GNUmakefile
@@ -163,8 +163,6 @@ $(PE_SCRIPTS): $(buildscript-dir)/gen-emmentaler-scripts
ALL_FONTS = $(FETA_FONTS)
PFB_FILES = $(ALL_FONTS:%=$(outdir)/%.pfb)
-.PRECIOUS: $(PFB_FILES)
-
# Make tfm files first, log files last,
# so that normally log files aren't made twice