[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Automake-NG] [PATCH 13/15] [ng] rename: define_pretty_variable -> defin
From: |
Stefano Lattarini |
Subject: |
[Automake-NG] [PATCH 13/15] [ng] rename: define_pretty_variable -> define_cond_variable() |
Date: |
Fri, 25 May 2012 13:38:35 +0200 |
The new name is more appropriate, now that there is no more
distinction between variables "pretty printed" and "printed
as is".
* automake.in (define_pretty_variable): Rename ...
(define_cond_variable): ... to this.
(handle_ltlibraries): Adjust (yes, this was the only caller!)
Signed-off-by: Stefano Lattarini <address@hidden>
---
automake.in | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/automake.in b/automake.in
index 64ac281..6e36348 100644
--- a/automake.in
+++ b/automake.in
@@ -2748,7 +2748,7 @@ sub handle_ltlibraries
}
else
{
- define_pretty_variable ($rpathvar, $rcond, INTERNAL, $val);
+ define_cond_variable ($rpathvar, $rcond, INTERNAL, $val);
}
}
@@ -5890,14 +5890,14 @@ sub cond_stack_endif ($$$)
## ------------------------ ##
-# &define_pretty_variable ($VAR, $COND, $WHERE, @VALUE)
+# &define_cond_variable ($VAR, $COND, $WHERE, @VALUE)
# -----------------------------------------------------
# Like define_variable, but the value is a list, and the variable may
# be defined conditionally. The second argument is the condition
# under which the value should be defined; this should be the empty
# string to define the variable unconditionally. The third argument
# is a list holding the values to use for the variable.
-sub define_pretty_variable ($$$@)
+sub define_cond_variable ($$$@)
{
my ($var, $cond, $where, @value) = @_;
@@ -5917,7 +5917,7 @@ sub define_pretty_variable ($$$@)
sub define_variable ($$@)
{
my ($var, $where, @value) = @_;
- define_pretty_variable ($var, TRUE, $where, @value);
+ define_cond_variable ($var, TRUE, $where, @value);
}
--
1.7.9.5
- Re: [Automake-NG] [PATCH 05/15] [ng] tests: Automake should let us append to undefined variables (someday), (continued)
[Automake-NG] [PATCH 07/15] [ng] VarDef: store comments and values as a perl array, Stefano Lattarini, 2012/05/25
[Automake-NG] [PATCH 03/15] [ng] vars: get rid of VAR_SILENT type, Stefano Lattarini, 2012/05/25
[Automake-NG] [PATCH 08/15] [ng] vars: simplify logic for appending conditionally, Stefano Lattarini, 2012/05/25
[Automake-NG] [PATCH 06/15] [ng] refactor: support comments only for VarDef, not for ItemDef too, Stefano Lattarini, 2012/05/25
[Automake-NG] [PATCH 09/15] [ng] vars: keep track of conditionals in appended values and comments, Stefano Lattarini, 2012/05/25
[Automake-NG] [PATCH 11/15] [ng] refactor: change signature of 'define_variable()', Stefano Lattarini, 2012/05/25
[Automake-NG] [PATCH 13/15] [ng] rename: define_pretty_variable -> define_cond_variable(),
Stefano Lattarini <=
[Automake-NG] [PATCH 10/15] [ng] vars: get rid of VAR_ASIS / VAR_PRETTY distinction, Stefano Lattarini, 2012/05/25
[Automake-NG] [PATCH 15/15] [ng] vars: remove some safety checks in Automake::Variable::define, Stefano Lattarini, 2012/05/25
[Automake-NG] [PATCH 12/15] [ng] cleanup: prefer 'define_variable' over 'define_pretty_variable', Stefano Lattarini, 2012/05/25
[Automake-NG] [PATCH 14/15] [ng] cosmetics: avoid redundant use of '&' in subroutine calls, Stefano Lattarini, 2012/05/25