diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-01-09 20:11:31 +0100 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-01-09 20:12:55 +0100 |
commit | 94d8c69f1c350de94445734de7b5dce7b5673909 (patch) | |
tree | 0b2b0b0ba1ac9301d2a7c512863519b581d6e9a5 /PLANS | |
parent | 6b31158c5930ef8ba357e07d28ca56ff6104278e (diff) | |
download | automake-94d8c69f1c350de94445734de7b5dce7b5673909.tar.gz |
plans: automake 1.14 is to assume "rm -f" with no args is OK
See automake bug#10828.
* PLANS/rm-f-without-args.txt: New.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'PLANS')
-rw-r--r-- | PLANS/rm-f-without-args.txt | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/PLANS/rm-f-without-args.txt b/PLANS/rm-f-without-args.txt new file mode 100644 index 000000000..5d39e220d --- /dev/null +++ b/PLANS/rm-f-without-args.txt @@ -0,0 +1,40 @@ +Summary +------- + +POSIX will say in a future version that calling "rm -f" with no argument +is OK; and this sensible behaviour seem to be already very widespread in +"the wild" (and possibly lacking only on those systems that are well on +their way to obsolescence). + +Se we'd like to simplify several automake-generated "cleaning" rules +accordingly, to get rid of the awful idiom: + + test -z "$(VAR)" || rm -f $(VAR) + +See automake bug#10828. + +For Automake 1.13.2 (or 1.13.3) +------------------------------- + +Add a temporary "probe check" in AM_INIT_AUTOMAKE that verifies that +the no-args "rm -f" usage is supported on the system configure is +being run on; complain loudly (but not with a fatal error) if this is +not the case, and tell the user to report the situation to us. + +For Automake 1.14 +----------------- + +Make any failure in the configure-time probe check introduced by the +previous point fatal; and in case of failure, also suggest to the user +to install an older version of GNU coreutils to work around the +limitation of his system (this version should be old enough not to +be bootstrapped with Automake 1.14, otherwise the user will face a +bootstrapping catch-22). + +In all our recipes, start assuming "rm -f" with no argument is OK; +simplify and de-uglify the recipes accordingly. + +For Automake 1.15 +----------------- + +Remove the runtime probe altogether. |