automake-ng
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-NG] [PATCH 30/33] [ng] rename: am__tolower -> am.util.tolower


From: Stefano Lattarini
Subject: [Automake-NG] [PATCH 30/33] [ng] rename: am__tolower -> am.util.tolower
Date: Sat, 21 Jul 2012 14:56:02 +0200

Signed-off-by: Stefano Lattarini <address@hidden>
---
 lib/am/header-vars.am        |    4 ++--
 t/internals.tap              |   30 +++++++++++++++---------------
 t/test-extensions-dynamic.sh |    2 +-
 3 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/lib/am/header-vars.am b/lib/am/header-vars.am
index 4eca206..1035ef6 100644
--- a/lib/am/header-vars.am
+++ b/lib/am/header-vars.am
@@ -178,10 +178,10 @@ am.util.uniq = $(strip \
 ##        toupper="\$(subst $c,$C,$toupper)"
 ##        tolower="\$(subst $C,$c,$tolower)"
 ##    done
-##    echo "am__tolower = $tolower"
+##    echo "am.util.tolower = $tolower"
 ##    echo "am__toupper = $toupper"
 
-am__tolower = $(subst Z,z,$(subst Y,y,$(subst X,x,$(subst W,w,$(subst 
V,v,$(subst U,u,$(subst T,t,$(subst S,s,$(subst R,r,$(subst Q,q,$(subst 
P,p,$(subst O,o,$(subst N,n,$(subst M,m,$(subst L,l,$(subst K,k,$(subst 
J,j,$(subst I,i,$(subst H,h,$(subst G,g,$(subst F,f,$(subst E,e,$(subst 
D,d,$(subst C,c,$(subst B,b,$(subst A,a,$1))))))))))))))))))))))))))
+am.util.tolower = $(subst Z,z,$(subst Y,y,$(subst X,x,$(subst W,w,$(subst 
V,v,$(subst U,u,$(subst T,t,$(subst S,s,$(subst R,r,$(subst Q,q,$(subst 
P,p,$(subst O,o,$(subst N,n,$(subst M,m,$(subst L,l,$(subst K,k,$(subst 
J,j,$(subst I,i,$(subst H,h,$(subst G,g,$(subst F,f,$(subst E,e,$(subst 
D,d,$(subst C,c,$(subst B,b,$(subst A,a,$1))))))))))))))))))))))))))
 
 am__toupper = $(subst z,Z,$(subst y,Y,$(subst x,X,$(subst w,W,$(subst 
v,V,$(subst u,U,$(subst t,T,$(subst s,S,$(subst r,R,$(subst q,Q,$(subst 
p,P,$(subst o,O,$(subst n,N,$(subst m,M,$(subst l,L,$(subst k,K,$(subst 
j,J,$(subst i,I,$(subst h,H,$(subst g,G,$(subst f,F,$(subst e,E,$(subst 
d,D,$(subst c,C,$(subst b,B,$(subst a,A,$1))))))))))))))))))))))))))
 
diff --git a/t/internals.tap b/t/internals.tap
index b508502..256784c 100755
--- a/t/internals.tap
+++ b/t/internals.tap
@@ -131,20 +131,20 @@ test-toupper:
 
 .PHONY: test-tolower
 test-tolower:
-       test '$(call am__tolower,A)'  = a
-       test '$(call am__tolower,a)'  = a
-       test '$(call am__tolower,ABA)' = aba
-       test '$(call am__tolower,A B)' = 'a b'
-       test '$(call am__tolower, A b)' = ' a b'
-       test '$(call am__tolower,aB  )' = 'ab  '
-       test '$(call am__tolower,a       b C )' = 'a     b c '
-       test '$(call am__tolower,0)'  = 0
-       test '$(call am__tolower,0D)' = 0d
-       test '$(call am__tolower,@:&/?-)' = '@:&/?-'
-       test '$(call am__tolower,address@hidden)' = address@hidden
-       test '$(call am__tolower,ZXZXZXzxzXZXZXZXZX)' = zxzxzxzxzxzxzxzxzx
-       test '$(call am__tolower,$(upper))' = '$(lower)'
-       test '$(call am__tolower,$(lower))' = '$(lower)'
+       test '$(call am.util.tolower,A)'        = a
+       test '$(call am.util.tolower,a)'        = a
+       test '$(call am.util.tolower,ABA)'      = aba
+       test '$(call am.util.tolower,A B)'      = 'a b'
+       test '$(call am.util.tolower, A b)'     = ' a b'
+       test '$(call am.util.tolower,aB  )'     = 'ab  '
+       test '$(call am.util.tolower,a   b C )' = 'a     b c '
+       test '$(call am.util.tolower,0)'        = 0
+       test '$(call am.util.tolower,0D)'       = 0d
+       test '$(call am.util.tolower,@:&/?-)'   = '@:&/?-'
+       test '$(call am.util.tolower,address@hidden)'      = address@hidden
+       test '$(call am.util.tolower,ZXZXZXzxzXZXZXZXZX)' = zxzxzxzxzxzxzxzxzx
+       test '$(call am.util.tolower,$(upper))' = '$(lower)'
+       test '$(call am.util.tolower,$(lower))' = '$(lower)'
 
 .PHONY: test-canonicalize
 test-canonicalize:
@@ -189,7 +189,7 @@ command_ok_  am.util.strip-first-word   $MAKE 
test-strip-first-word
 command_ok_  am.util.strip-last-word    $MAKE test-strip-last-word
 command_ok_  am.util.uniq               $MAKE test-uniq
 command_ok_  am.util.strip-suffixes     $MAKE test-strip-suffixes
-command_ok_  am__tolower                $MAKE test-tolower
+command_ok_  am.util.tolower            $MAKE test-tolower
 command_ok_  am__toupper                $MAKE test-toupper
 command_ok_  am__canon                  $MAKE test-canonicalize
 command_ok_  "am__newline (1)"          $MAKE test-newline-1
diff --git a/t/test-extensions-dynamic.sh b/t/test-extensions-dynamic.sh
index b04dcca..091ca03 100755
--- a/t/test-extensions-dynamic.sh
+++ b/t/test-extensions-dynamic.sh
@@ -30,7 +30,7 @@ cat > Makefile.am << 'END'
 SUBDIRS = sub
 TESTS = foo.sh bar.test baz.t1 mu.t1.t2 zardoz.tap
 TEST_EXTENSIONS = .test @suf@ $(foreach i,1 2,.t$(i))
-TEST_EXTENSIONS += $(subst &,.,$(call am__tolower,&SH))
+TEST_EXTENSIONS += $(subst &,.,$(call am.util.tolower,&SH))
 END
 
 cat > sub/Makefile.am << 'END'
-- 
1.7.10.4




reply via email to

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