From 4e51b6d9a4eb7eef2272551d55d8abaadd5f01e3 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sun, 25 Oct 2009 00:46:52 +0000 Subject: New command line option: --eval=STRING will cause STRING to be evaluated as a makefile statement before the first makefile is read. --- doc/make.texi | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc') 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} -- cgit v1.2.3