[Top][All Lists]

[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
+       @# 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

reply via email to

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