This was responsible for the difference presented in Automake's
tests/Makefile.in. Now makesort says:
~/src/am % ./makesort.pl -d /tmp/am/tests/Makefile.in tests/Makefile.in
259c259
< distclean-am: distclean-generic clean-am distclean-local
---
> distclean-am: clean-am distclean-generic distclean-local
308c308
< maintainer-clean-am: maintainer-clean-generic distclean-am
---
> maintainer-clean-am: distclean-am maintainer-clean-generic
Index: ChangeLog
from Akim Demaille <[EMAIL PROTECTED]>
* automake.in (handle_clean): `-local' targets are bound to `-am'
targets, not top targets.
Index: automake.in
--- automake.in Sun, 04 Feb 2001 14:35:53 +0100 akim (am/f/39_automake.i 1.32 755)
+++ automake.in Sun, 04 Feb 2001 15:31:26 +0100 akim (am/f/39_automake.i 1.32 755)
@@ -3904,8 +3904,8 @@ sub handle_clean
foreach ('clean', 'distclean', 'mostlyclean', 'maintainer-clean')
{
- &depend ($_, $_ . '-local')
- if &target_defined ($_ . '-local');
+ &depend ("$_-am", "$_-local")
+ if &target_defined ("$_-local");
&depend ($_,
$_ . ($recursive_install ? '-recursive' : '-am'));
}