From: Stefano Lattarini Date: Sat, 21 Jul 2012 11:57:15 +0000 (+0200) Subject: [ng] am__uniq: use $0 for recursive invocations X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4f0c6bb82baa9da32e25ff39a222a36a7ddfc43;p=thirdparty%2Fautomake.git [ng] am__uniq: use $0 for recursive invocations Signed-off-by: Stefano Lattarini --- diff --git a/lib/am/header-vars.am b/lib/am/header-vars.am index af2c6efea..450bec4e7 100644 --- a/lib/am/header-vars.am +++ b/lib/am/header-vars.am @@ -158,7 +158,7 @@ am__uniq = $(strip \ $(if $(strip $(1)), \ ## Call the function recursively on the list of all the elements ## but the last one. - $(call am__uniq, \ + $(call $0, \ $(call am.util.strip-last-word, $(1))) \ ## And append the last element, unless it was already present. $(if $(filter $(lastword $(1)), \