of target-am, not target-am-local.
* tests/overrid.test: Check the diagnostic for clean-am.
Report from Bruno Haible.
+2003-11-17 Alexandre Duret-Lutz <adl@gnu.org>
+
+ * lib/Automake/Rule.pm (define): Suggest using target-local instead
+ of target-am, not target-am-local.
+ * tests/overrid.test: Check the diagnostic for clean-am.
+ Report from Bruno Haible.
+
2003-11-17 Jim Meyering <jim@meyering.net>
* bootstrap: Require not only that `perl' have the executable
$noam =~ s/-am$//;
if (exists $dependencies{"$noam-am"})
{
- $hint = "consider using $target-local instead of $target";
+ $hint = "consider using $noam-local instead of $target";
}
msg_cond_rule ('override', $cond, $target,
:
html:
:
+clean-am:
+ :
if COND
ps: mine
grep install-local stderr && exit 1 # There is no such thing as install-local
grep installcheck-local stderr
grep html-local stderr
+# Make sure overriding *-am targets suggest using *-local, not *-am.
+grep cleam-am-local stderr && exit 1
+grep clean-local stderr
# Conditional overrides ought to be diagnosed, but it can't be done yet.
# See the FIXME in rule_define. Once this is fixed, the grep below