summaryrefslogtreecommitdiff
path: root/ChangeLog
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 /ChangeLog
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 'ChangeLog')
-rw-r--r--ChangeLog28
1 files changed, 28 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index eceada6..b475f4f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,31 @@
+2009-10-24 Paul Smith <psmith@gnu.org>
+
+ * main.c (usage): Add --eval to the usage string.
+ (switches): Add the --eval switch.
+ (main): If --eval is given, add them to the simply-expanded variable
+ -*-eval-flags-*- (necessary to allow recursion to work properly).
+ (define_makeflags): Add -*-eval-flags-*- to MAKEFLAGS.
+
+ * NEWS: Describe the new --eval command line argument.
+ * doc/make.texi (Options Summary): Document --eval.
+
+ * dep.h: eval_buffer() returns void.
+ * read.c (eval_buffer): Ditto.
+ (eval): Ditto.
+
+ * variable.h (define_variable_cname): New macro for constant
+ variable names.
+ * default.c (set_default_suffixes): Use it.
+ * main.c (main): Ditto.
+ (handle_non_switch_argument): Ditto.
+ (define_makeflags): Ditto.
+ * read.c (read_all_makefiles): Ditto.
+ * variable.c (define_automatic_variables): Ditto.
+
+ * commands.c (dep_hash_cmp): Avoid casts.
+ (dep_hash_1): Ditto.
+ (dep_hash_2): Ditto.
+
2009-10-22 Boris Kolpackov <boris@codesynthesis.com>
* read.c (read_all_makefiles): Mark the default makefile dependency