about libtool, and maintainer-clean.
* clean.am, libtool.am: Handle these.
+2001-02-06 Akim Demaille <akim@epita.fr>
+
+ * automake.in (do_one_clean_target): Don't hard code knowledge
+ about libtool, and maintainer-clean.
+ * clean.am, libtool.am: Handle these.
+
+
2001-02-05 Akim Demaille <akim@epita.fr>
* automake.in (handle_texinfo): No longer hard code the clean
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
-rm -f Makefile.in
mostlyclean-am: mostlyclean-vti mostlyclean-aminfo mostlyclean-tags \
mostlyclean-generic
maintainer-clean-am: maintainer-clean-vti maintainer-clean-aminfo \
maintainer-clean-tags maintainer-clean-generic \
distclean-am
- @echo "This command is intended for maintainers to use;"
- @echo "it deletes files that may require special tools to rebuild."
maintainer-clean: maintainer-clean-recursive
-rm -f config.status
# Print the target and the dependencies.
&pretty_print_rule ($name . 'clean-am: ', "\t\t", @deps);
- # FIXME: shouldn't we really print these messages before running
- # the dependencies?
- if ($name eq 'maintainer-')
- {
- # Print a special warning.
- $output_rules .=
- ("\t\@echo \"This command is intended for maintainers to use;\"\n"
- . "\t\@echo \"it deletes files that may require special "
- . "tools to rebuild.\"\n");
- }
- elsif ($name eq 'dist')
- {
- $output_rules .= "\t-rm -f libtool\n" if $seen_libtool;
- }
$output_rules .= "\n";
# Now generate the actual clean target.
## automake - create Makefile.in from Makefile.am
-## Copyright 1994, 1995, 1996, 1998, 1999 Free Software Foundation, Inc.
+## Copyright 1994, 1995, 1996, 1998, 1999, 2001 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
DISTCLEAN -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
maintainer-clean-generic:
+## FIXME: shouldn't we really print these messages before running
+## the dependencies?
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
-rm -f Makefile.in
MAINTAINERCLEAN -test -z "@MCFILES@" || rm -f @MFILES@
## automake - create Makefile.in from Makefile.am
-## Copyright 1994, 1995, 1996, 1998, 1999 Free Software Foundation, Inc.
+## Copyright 1994, 1995, 1996, 1998, 1999, 2001 Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
DISTCLEAN -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
maintainer-clean-generic:
+## FIXME: shouldn't we really print these messages before running
+## the dependencies?
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
-rm -f Makefile.in
MAINTAINERCLEAN -test -z "@MCFILES@" || rm -f @MFILES@
-rm -rf .libs _libs
distclean-libtool:
+ -rm -f libtool
maintainer-clean-libtool:
-rm -rf .libs _libs
distclean-libtool:
+ -rm -f libtool
maintainer-clean-libtool:
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
-rm -f Makefile.in
mostlyclean-am: mostlyclean-generic
distclean: distclean-am
maintainer-clean-am: maintainer-clean-generic distclean-am
- @echo "This command is intended for maintainers to use;"
- @echo "it deletes files that may require special tools to rebuild."
maintainer-clean: maintainer-clean-am
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
-rm -f Makefile.in
mostlyclean-am: mostlyclean-generic
distclean: distclean-am
maintainer-clean-am: maintainer-clean-generic distclean-am
- @echo "This command is intended for maintainers to use;"
- @echo "it deletes files that may require special tools to rebuild."
maintainer-clean: maintainer-clean-am