]> git.ipfire.org Git - thirdparty/automake.git/commit
[ng] uninstall: refactor, more processing delegated to GNU make
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 8 Aug 2012 21:09:06 +0000 (23:09 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 8 Aug 2012 23:24:06 +0000 (01:24 +0200)
commitaf8c0d17c7627c4c5f83aecace3f5778a6b7293b
tree9ece57ecc81559670b94141db40f41d444098994
parent15bf58f3d0d9e24f1b38f2802280fb193782ccfb
[ng] uninstall: refactor, more processing delegated to GNU make

* lib/am/header-vars.mk (am.chars.space, am.chars.tab): New variables,
defined respectively to a literal white space characters and a literal
tabulation character.
(am.util.whitespace-escape): New function, backslash-escape whitespace
characters in the given string.
(am.util.file-exists): New function, tell whether the given argument
is an existing file; it does so coping correctly with whitespaces and
wildcard metacharacters as well, to be usable with paths containing
references to $(DESTDIR).
(am.uninst.cmd.aux): Re-implement using the new $(am.util.file-exists)
function.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/am/header-vars.mk
t/internals.tap