]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
[ng] rename: am__canon -> am.util.canon
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 21 Jul 2012 12:35:02 +0000 (14:35 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 21 Jul 2012 12:46:46 +0000 (14:46 +0200)
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/am/check-typos.am
lib/am/header-vars.am
t/internals.tap

index 5b19111c0d1926e97b14bc429f539ab5acde20bc..e52e5e4d0ad5d14759d912d2e770ca8ac24b7496 100644 (file)
@@ -71,9 +71,9 @@ endif
 # Canonicalized names of programs and libraries (vanilla or libtool) that
 # have been declared.
 .am/vartypos/known-canon-proglibs := \
-  $(sort $(call am__canon, $(am.all-progs) \
-                           $(am.all-libs) \
-                          $(am.all-ltlibs)))
+  $(sort $(call am.util.canon, $(am.all-progs) \
+                               $(am.all-libs) \
+                               $(am.all-ltlibs)))
 
 # Extract 'foo' from something like "EXTRA_nodist_foo_SOURCES".
 define .am/vartypos/canon-name-from-var
index e3a0ee10c3e2703e59ccb11ee85a57feb48e41c6..eb1df5fecfe847bd2f7027574065be76638b20ea 100644 (file)
@@ -188,7 +188,7 @@ am.util.toupper = $(subst z,Z,$(subst y,Y,$(subst x,X,$(subst w,W,$(subst v,V,$(
 # Canonicalize the given filename.  See also the &canonicalize function
 # in the automake script.
 
-am__canon = $(strip \
+am.util.canon = $(strip \
   $(subst ~,_,\
   $(subst },_,\
   $(subst |,_,\
index ef26cbe3583b2652a3a06835ab75dce0b0851e27..8063e0437ac236a6ada3a1343c09ba257364714f 100755 (executable)
@@ -148,19 +148,19 @@ test-tolower:
 
 .PHONY: test-canonicalize
 test-canonicalize:
-       test '$(call am__canon,A)' = A
-       test '$(call am__canon, b)' = b
-       test '$(call am__canon, foo      )' = foo
-       test '$(call am__canon,$(upper)$(lower)$(digits)_)' = '$(upper)$(lower)$(digits)_'
-       test '$(call am__canon,@)' = '@'
-       test '$(call am__canon,%)' = '_'
-       test '$(call am__canon,.&@!;)' = '__@__'
-       test '$(call am__canon,')' = '_'
-       test '$(call am__canon,$(dollar))' = '_'
-       test '$(call am__canon,$(bslash))' = '_'
-       test '$(call am__canon,$(comma))' = '_'
-       test '$(call am__canon,$(bslash)$(comma))' = '__'
-       test '$(call am__canon,x$(comma)@$(bslash))' = 'x_@_'
+       test '$(call am.util.canon,A)' = A
+       test '$(call am.util.canon, b)' = b
+       test '$(call am.util.canon, foo  )' = foo
+       test '$(call am.util.canon,$(upper)$(lower)$(digits)_)' = '$(upper)$(lower)$(digits)_'
+       test '$(call am.util.canon,@)' = '@'
+       test '$(call am.util.canon,%)' = '_'
+       test '$(call am.util.canon,.&@!;)' = '__@__'
+       test '$(call am.util.canon,')' = '_'
+       test '$(call am.util.canon,$(dollar))' = '_'
+       test '$(call am.util.canon,$(bslash))' = '_'
+       test '$(call am.util.canon,$(comma))' = '_'
+       test '$(call am.util.canon,$(bslash)$(comma))' = '__'
+       test '$(call am.util.canon,x$(comma)@$(bslash))' = 'x_@_'
 
 .PHONY: test-newline-1
 test-newline-1:
@@ -191,7 +191,7 @@ command_ok_  am.util.uniq               $MAKE test-uniq
 command_ok_  am.util.strip-suffixes     $MAKE test-strip-suffixes
 command_ok_  am.util.tolower            $MAKE test-tolower
 command_ok_  am.util.toupper            $MAKE test-toupper
-command_ok_  am__canon                  $MAKE test-canonicalize
+command_ok_  am.util.canon              $MAKE test-canonicalize
 command_ok_  "am__newline (1)"          $MAKE test-newline-1
 command_ok_  "am__newline (2)"          $MAKE test-newline-2
 command_ok_  "am__newline (3)"          $MAKE test-newline-3