[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master f28084a 6/9: Prepare to "source" a script in
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master f28084a 6/9: Prepare to "source" a script in a makefile |
Date: |
Sat, 18 May 2019 14:50:02 -0400 (EDT) |
branch: master
commit f28084a2a1f6703845a7235e8c2ce0311aaaf529
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Prepare to "source" a script in a makefile
This preparatory step negates the benefit of the original double-colon
rule, so that that benefit can be measured. It's very slight.
---
GNUmakefile | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/GNUmakefile b/GNUmakefile
index 67cf563..9c56108 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -132,9 +132,13 @@ touchstone_dir := $(prefix)/touchstone
# Other makefiles included; makefiles not to be remade.
-# Don't remake this file.
+# Remake this file to "source" a script.
-GNUmakefile $(srcdir)/GNUmakefile:: ;
+GNUmakefile $(srcdir)/GNUmakefile:: source_env_vars ;
+
+.PHONY: source_env_vars
+source_env_vars:
+ @# nothing here yet
# Included files that don't need to be remade are given explicit empty
# commands, which significantly reduces the number of lines emitted by
- [lmi-commits] [lmi] master updated (f2caa81 -> e0988be), Greg Chicares, 2019/05/18
- [lmi-commits] [lmi] master 210257a 7/9: Source a script in a makefile, Greg Chicares, 2019/05/18
- [lmi-commits] [lmi] master e0988be 9/9: Prefer xz to bzip2, Greg Chicares, 2019/05/18
- [lmi-commits] [lmi] master 7ea9aff 3/9: Import a terminal-tab setup script from branch odd/multiarch, Greg Chicares, 2019/05/18
- [lmi-commits] [lmi] master f28084a 6/9: Prepare to "source" a script in a makefile,
Greg Chicares <=
- [lmi-commits] [lmi] master 8cb87e1 8/9: Remove redundant duplication, Greg Chicares, 2019/05/18
- [lmi-commits] [lmi] master 67d4657 5/9: Fix defect introduced 20190420T2117: non-minimal $PATH, Greg Chicares, 2019/05/18
- [lmi-commits] [lmi] master f52f6e1 4/9: Invoke 'set_toolchain.sh' instead of duplicating parts of it, Greg Chicares, 2019/05/18
- [lmi-commits] [lmi] master e2e8d43 2/9: Adapt imported script to current directory structure, Greg Chicares, 2019/05/18
- [lmi-commits] [lmi] master b03530f 1/9: Improve documentation, Greg Chicares, 2019/05/18