Merge branch 'micro' into maint
[platform/upstream/automake.git] / PLANS / rm-f-without-args.txt
1 Summary
2 -------
3
4 POSIX will say in a future version that calling "rm -f" with no argument
5 is OK; and this sensible behaviour seem to be already very widespread in
6 "the wild" (and possibly lacking only on those systems that are well on
7 their way to obsolescence).
8
9 Se we'd like to simplify several automake-generated "cleaning" rules
10 accordingly, to get rid of the awful idiom:
11
12   test -z "$(VAR)" || rm -f $(VAR)
13
14 See automake bug#10828.
15
16 For Automake 1.14 (DONE)
17 ------------------------
18
19 Add a temporary "probe check" in AM_INIT_AUTOMAKE that verifies that
20 the no-args "rm -f" usage is supported on the system configure is
21 being run on; complain loudly if this is not the case, and tell the
22 user to report the situation to us.
23
24 For Automake 2.0
25 ----------------
26
27 Make any failure in the configure-time probe check introduced by the
28 previous point fatal; and in case of failure, also suggest to the user
29 to install an older version of GNU coreutils to work around the
30 limitation of his system (this version should be old enough not to
31 be bootstrapped with Automake 2.0, otherwise the user will face a
32 bootstrapping catch-22).
33
34 In all our recipes, start assuming "rm -f" with no argument is OK;
35 simplify and de-uglify the recipes accordingly.
36
37 For Automake 3.0
38 ----------------
39
40 Remove the runtime probe altogether.