[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
env.make:
@echo "Sourcing 'set.sh'"
. ./set.sh
- [lmi-commits] [lmi] odd/source_script_in_makefile updated (929fccb -> dcfc8bb), Greg Chicares, 2019/05/17
- [lmi-commits] [lmi] odd/source_script_in_makefile fc9727f 1/8: Construct a unique temporary filename to avoid collisions, Greg Chicares, 2019/05/17
- [lmi-commits] [lmi] odd/source_script_in_makefile 3722813 3/8: Resolve an open issue, Greg Chicares, 2019/05/17
- [lmi-commits] [lmi] odd/source_script_in_makefile 2b6d26d 6/8: Don't write env file if its name is empty or unset, Greg Chicares, 2019/05/17
- [lmi-commits] [lmi] odd/source_script_in_makefile 20d830d 4/8: Name temporary environment-variables file OAOO, Greg Chicares, 2019/05/17
- [lmi-commits] [lmi] odd/source_script_in_makefile 2bf1d5d 7/8: Remove duplicated target name; improve documentation, Greg Chicares, 2019/05/17
- [lmi-commits] [lmi] odd/source_script_in_makefile dcfc8bb 8/8: Improve and compress output trace, Greg Chicares, 2019/05/17
- [lmi-commits] [lmi] odd/source_script_in_makefile 42d1373 2/8: Remove obsolete commentary,
Greg Chicares <=
- [lmi-commits] [lmi] odd/source_script_in_makefile 23a86bd 5/8: Actually perform some work in the script, Greg Chicares, 2019/05/17