]> git.ipfire.org Git - thirdparty/automake.git/commit
[ng] uninstall: reimplement various recipes using more GNU make features
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 8 Aug 2012 17:45:06 +0000 (19:45 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 8 Aug 2012 20:23:43 +0000 (22:23 +0200)
commit15bf58f3d0d9e24f1b38f2802280fb193782ccfb
tree80c290a90407d5d7e0c1562b9357872fa643da4e
parent42d205e4a1d77ac6c99684fa6261b256b567324e
[ng] uninstall: reimplement various recipes using more GNU make features

This change likely introduces subtle semantic changes in corner cases
and tricky situation.  Given the simplifications and improved uniformity
it offers, we consider that completely acceptable.

With this change, the test 't/instmany-python.sh' passes once again.

* lib/am/header-vars.mk (am.uninst.cmd): New private make function.
(am.uninst.cmd.aux): Likewise, used internally by the above (and
to be considered an implementation detail of it).
(am__uninstall_files_from_dir): Delete, no more needed.
* lib/am/data.am: Rewrite the uninstall recipe(s) to take advantage
of $(am.uninst.cmd).
* lib/am/libs.am: Likewise.
* lib/am/lisp.am: Likewise.
* lib/am/mans.am: Likewise.
* lib/am/python.am: Likewise.
* lib/am/progs.am: Likewise.
* lib/am/scripts.am: Likewise.
* lib/am/texinfos.am: Likewise (and also of other unrelated GNU make
features while we are at it).

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/am/data.am
lib/am/header-vars.mk
lib/am/libs.am
lib/am/lisp.am
lib/am/mans.am
lib/am/progs.am
lib/am/python.am
lib/am/scripts.am
lib/am/texinfos.am