summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2009-10-25 00:46:52 +0000
committerPaul Smith <psmith@gnu.org>2009-10-25 00:46:52 +0000
commit4e51b6d9a4eb7eef2272551d55d8abaadd5f01e3 (patch)
treefd4867c9098333197abe49c21e27caf920c35b25 /doc
parent606cf9b169f23b8d87b20ea02b235df8fa66c2d8 (diff)
downloadgunmake-4e51b6d9a4eb7eef2272551d55d8abaadd5f01e3.tar.gz
New command line option: --eval=STRING will cause STRING to be
evaluated as a makefile statement before the first makefile is read.
Diffstat (limited to 'doc')
-rw-r--r--doc/make.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/make.texi b/doc/make.texi
index 52a56ef..7a3be3b 100644
--- a/doc/make.texi
+++ b/doc/make.texi
@@ -8127,6 +8127,15 @@ Give variables taken from the environment precedence
over variables from makefiles.
@xref{Environment, ,Variables from the Environment}.
+@item --eval=@var{string}
+@cindex @code{--eval}
+@c Extra blank line here makes the table look better.
+
+Evaluate @var{string} as makefile syntax. This is a command-line
+version of the @code{eval} function (@pxref{Eval Function}). The
+evaluation is performed after the default rules and variables have
+been defined, but before any makefiles are read.
+
@item -f @var{file}
@cindex @code{-f}
@itemx --file=@var{file}