From: Stefano Lattarini Date: Sat, 21 Jul 2012 12:22:49 +0000 (+0200) Subject: [ng] rename: am__vpath_rewrite -> am.vpath.rewrite X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0efbd4c76aec60595ea97918069e2995e3c07889;p=thirdparty%2Fautomake.git [ng] rename: am__vpath_rewrite -> am.vpath.rewrite Signed-off-by: Stefano Lattarini --- diff --git a/lib/am/header-vars.am b/lib/am/header-vars.am index 691c50544..4eca206e9 100644 --- a/lib/am/header-vars.am +++ b/lib/am/header-vars.am @@ -116,7 +116,7 @@ am__sh_e_setup = case $$- in *e*) set +e;; esac ## Emulate VPATH rewrites. This uses only GNU make primitives, which ## allows us to avoid extra forks. -am__vpath_rewrite = \ +am.vpath.rewrite = \ $(firstword $(wildcard $(strip $(1))) $(srcdir)/$(strip $(1))) ## We used to define this. However, we don't because vendor makes diff --git a/t/vpath-rewrite.sh b/t/vpath-rewrite.sh index 8f1eeccb8..e856d4b08 100755 --- a/t/vpath-rewrite.sh +++ b/t/vpath-rewrite.sh @@ -36,7 +36,7 @@ clean-local: rm -rf bsub ## Yes, I'm a lazy typist. -vr = \$(am__vpath_rewrite) +vr = \$(am.vpath.rewrite) test-common: bsub/foo/bar bsub/mu.c++ bsub/foo/pu.cxx test '\$(call vr,Makefile)' = Makefile