[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Automake-NG] [PATCH 33/33] [ng] rename: am__relativize -> am.dist.relat
From: |
Stefano Lattarini |
Subject: |
[Automake-NG] [PATCH 33/33] [ng] rename: am__relativize -> am.dist.relativize-path |
Date: |
Sat, 21 Jul 2012 14:56:05 +0200 |
Signed-off-by: Stefano Lattarini <address@hidden>
---
lib/am/distdir.am | 6 +++---
t/relativize.tap | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/lib/am/distdir.am b/lib/am/distdir.am
index 39c819e..d16cc1d 100644
--- a/lib/am/distdir.am
+++ b/lib/am/distdir.am
@@ -101,7 +101,7 @@ if %?SUBDIRS%
## - DIR2 relative pathname, relative to the current directory
## Output:
## - reldir relative pathname of DIR2, relative to DIR1
-am__relativize = \
+am.dist.relativize-path = \
dir0=`pwd`; \
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
sed_rest='s,^[^/]*/*,,'; \
@@ -217,10 +217,10 @@ if %?SUBDIRS%
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|| exit 1; \
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
- $(am__relativize); \
+ $(am.dist.relativize-path); \
new_distdir=$$reldir; \
dir1=$$subdir; dir2="$(top_distdir)"; \
- $(am__relativize); \
+ $(am.dist.relativize-path); \
new_top_distdir=$$reldir; \
echo " (cd $$subdir && $(MAKE) top_distdir="$$new_top_distdir"
distdir="$$new_distdir" \\"; \
echo " am__remove_distdir=: am__skip_length_check=:
am__skip_mode_fix=: distdir)"; \
diff --git a/t/relativize.tap b/t/relativize.tap
index d940ddf..a9644af 100755
--- a/t/relativize.tap
+++ b/t/relativize.tap
@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# Test Automake-provided internal make macro $(am__relativize).
+# Test Automake-provided internal make macro $(am.dist.relativize-path).
am_create_testdir=empty
. ./defs || exit 1
@@ -41,7 +41,7 @@ SUBDIRS = .
.PHONY: test
test:
- @$(am__relativize); echo "result: '$$reldir'"; set -x; \
+ @$(am.dist.relativize-path); echo "result: '$$reldir'"; set -x; \
case $${reldir:-.} in "$$exp"|"$$exp/.") ;; *) exit 1;; esac
END
@@ -55,8 +55,8 @@ rel_ ()
env dir1=$1 dir2=$2 exp=$4 $MAKE test
}
-# am__relativize
-# ~~~~~~~~~~~~~~
+# am.dist.relativize-path
+# ~~~~~~~~~~~~~~~~~~~~~~~
# Computes a relative pathname RELDIR such that DIR1/RELDIR = DIR2.
# Input:
# - DIR1 relative pathname, relative to the current directory
--
1.7.10.4
- [Automake-NG] [PATCH 23/33] [ng] rename: am__uniq -> am.util.uniq, (continued)
- [Automake-NG] [PATCH 23/33] [ng] rename: am__uniq -> am.util.uniq, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 24/33] [ng] am__strip_suffixes: use $0 for recursive invocations, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 25/33] [ng] rename: am__strip_suffixes -> am.util.strip-suffixes, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 26/33] [ng] rename: am__private_suffix -> am.hack.private-suffix, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 27/33] [ng] rename: am__handle_exeext -> am.conf.handle-exeext, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 28/33] [ng] rename: am__vpath_rewrite -> am.vpath.rewrite, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 29/33] [ng] rename: am__using_parallel_tests -> am.conf.using-parallel-tests, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 30/33] [ng] rename: am__tolower -> am.util.tolower, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 31/33] [ng] rename: am__toupper -> am.util.toupper, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 32/33] [ng] rename: am__canon -> am.util.canon, Stefano Lattarini, 2012/07/21
- [Automake-NG] [PATCH 33/33] [ng] rename: am__relativize -> am.dist.relativize-path,
Stefano Lattarini <=
- Re: [Automake-NG] [PATCH 00/33] Several renamings of private make variables, Akim Demaille, 2012/07/21