]> Lady’s Gitweb - Shushe/commitdiff
Mark GNUmakefile as precious
authorLady <redacted>
Fri, 24 May 2024 05:10:58 +0000 (01:10 -0400)
committerLady <redacted>
Fri, 24 May 2024 05:16:30 +0000 (01:16 -0400)
One would hope that Make wouldn’t ever delete the make·file it is
running, but the documentation doesn’t seem to explicitly give that
guarantee, so it’s good to be explicit about it.

GNUmakefile

index d54df18083999ba74d71e316be4c10b21013cd28..46fb27dc62c8e2ac2e7ab72914749b6c460974a0 100644 (file)
@@ -538,6 +538,9 @@ FORCE : ;
 # Don’t use any implicit rules.
 .SUFFIXES : ;
 
+# Don’t delete these files even if Make is stopped in the process of rebuilding them.
+.PRECIOUS : GNUmakefile ;
+
 # Phony rules; always consider these out·of·date.
 .PHONY : FORCE all default clean gone info install list listout uninstall $(call built,$(recursivefiles)) ;
 
This page took 0.025582 seconds and 4 git commands to generate.