[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] odd/source_script_in_makefile 3d51d7b 1/3: Improve d
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] odd/source_script_in_makefile 3d51d7b 1/3: Improve documentation |
Date: |
Sat, 18 May 2019 08:17:23 -0400 (EDT) |
branch: odd/source_script_in_makefile
commit 3d51d7be0e7f9846e2ed145dd1a2a16bf393af68
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Improve documentation
---
parent.make | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/parent.make b/parent.make
index 4ac8d4d..b1d2c69 100644
--- a/parent.make
+++ b/parent.make
@@ -4,9 +4,10 @@
# - form a unique name $LMI_ENV_FILE for a file to hold the value
# - add a 'source_env_vars' prerequisite for the top-level makefile,
# with recipe "$(eval include $LMI_ENV_FILE)"
-# - add a phony 'source_env_vars' target that sources the script,
-# then writes 'make' assignments like "export foo := bar"
-# for each desired environment variable
+# - add a phony 'source_env_vars' target that sources the script
+# - make the script write 'make' assignments like "export foo := bar"
+# for each desired environment variable to $LMI_ENV_FILE iff that
+# filename is of nonzero length
# To test:
# $export LMI_IN=Russia; make -f parent.make all
# $export LMI_IN=Mongolia; make -f parent.make all