[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] odd/source_script_in_makefile 42d1373 2/8: Remove ob

From: Greg Chicares
Subject: [lmi-commits] [lmi] odd/source_script_in_makefile 42d1373 2/8: Remove obsolete commentary
Date: Fri, 17 May 2019 21:31:38 -0400 (EDT)

branch: odd/source_script_in_makefile
commit 42d1373e95eb3353dbff9135e64264c42784f8ec
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Remove obsolete commentary
 parent.make | 22 ----------------------
 1 file changed, 22 deletions(-)

diff --git a/parent.make b/parent.make
index 6808af1..9440c07 100644
--- a/parent.make
+++ b/parent.make
@@ -17,28 +17,9 @@
 #   $export LMI_IN=Mongolia; LANG=mn_MN make -f parent.make all
 # and check what appears on stdout.
-# A file named 'env.make' is created in the source directory.
-# That unwanted side effect can be avoided by replacing it
-# with, say, '/run/var/lmi/env.make'.
-# lmi's 'GNUmakefile' uses a double-colon rule like this:
-#parent.make $(srcdir)/parent.make:: ;
-# which becomes relevant below. Possible problem: adding a
-# prerequisite may impair the efficiency that was gained by
-# writing the double-colon rule.
 export LMI_TIMESTAMP := $(shell date -u +'%s.%N')
-# No good: syntax error.
-#include set.sh
-# Neither necessary nor sufficient.
-#include env.make
-# This can't coexist with the desired double-colon rule (see above):
-#parent.make: env.make
 parent.make parent.make:: env.make ;
-# $(eval include) here is necessary and sufficient.
        $(eval include env.$(LMI_TIMESTAMP).eraseme)
        @echo "eval: LMI_IN in 'parent.make': $$LMI_IN"
        @echo "eval: LMI_OUT1 in 'parent.make': $$LMI_OUT1"
@@ -46,10 +27,7 @@ parent.make parent.make:: env.make ;
 # '--force': the file won't be there when this makefile is remade
        rm --force env.$(LMI_TIMESTAMP).eraseme
-# Doesn't execute recipe without ".PHONY":
 .PHONY: env.make
-# This prerequisite is unnecessary:
-#env.make: set.sh
        @echo "Sourcing 'set.sh'"
        . ./set.sh

reply via email to

[Prev in Thread] Current Thread [Next in Thread]