[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master ab38ad6 1/5: Add a 'show_env' makefile target
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master ab38ad6 1/5: Add a 'show_env' makefile target |
Date: |
Fri, 31 May 2019 19:23:49 -0400 (EDT) |
branch: master
commit ab38ad6c00b267fd72c76c0339c3678bf26f4172
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Add a 'show_env' makefile target
Added a new target to display crucial variables in the environment of
'make'.
---
GNUmakefile | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/GNUmakefile b/GNUmakefile
index 5860c46..65b6bfd 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -255,6 +255,20 @@ $(build_dir): $(gpl_files)
################################################################################
+# Display selected variables.
+
+.PHONY: show_env
+show_env:
+ @printf 'Internal make variables particular to lmi:\n\n'
+ @printf 'LMI_COMPILER = "%s"\n' "$(LMI_COMPILER)"
+ @printf 'LMI_TRIPLET = "%s"\n' "$(LMI_TRIPLET)"
+ @printf 'coefficiency = "%s"\n' "$(coefficiency)"
+ @printf 'PATH = "%s"\n' "$(PATH)"
+ @printf 'WINEPATH = "%s"\n' "$(WINEPATH)"
+ @printf 'PERFORM = "%s"\n' "$(PERFORM)"
+
+################################################################################
+
# Datestamps. These are all UTC. Only the first has an explicit 'Z'
# suffix, to avoid any ambiguity.
- [lmi-commits] [lmi] master updated (b0a3562 -> 6198c3a), Greg Chicares, 2019/05/31
- [lmi-commits] [lmi] master a896830 4/5: Fix defect introduced 20190519T1745Z: incomplete export, Greg Chicares, 2019/05/31
- [lmi-commits] [lmi] master ab38ad6 1/5: Add a 'show_env' makefile target,
Greg Chicares <=
- [lmi-commits] [lmi] master 0e30bf7 2/5: Inhibit 'shellcheck' for cygwin, which doesn't provide it, Greg Chicares, 2019/05/31
- [lmi-commits] [lmi] master b44f960 3/5: Generally prefer printf to echo, Greg Chicares, 2019/05/31
- [lmi-commits] [lmi] master 6198c3a 5/5: Don't '. ./name_of_script_that_could_reside_elsewhere', Greg Chicares, 2019/05/31