and .PHONY.
* data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
* ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
Do it.
+2001-02-23 Akim Demaille <akim@epita.fr>
+
+ * automake.in (&am_install_var): Don't hook on the clean targets
+ and .PHONY.
+ * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am,
+ * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:
+ Do it.
+
2001-02-23 Akim Demaille <akim@epita.fr>
* automake.in: Promote local `my' over `local'.
&file_contents ($file . '-clean',
&transform ('DIR' => $X)
. $cygxform);
-
- &depend ('mostlyclean-am', 'mostlyclean-' . $X . $primary);
- &depend ('.PHONY', 'mostlyclean-' . $X . $primary);
- &depend ('clean-am', 'clean-' . $X . $primary);
- &depend ('.PHONY', 'clean-' . $X . $primary);
- &depend ('distclean-am', 'distclean-' . $X . $primary);
- &depend ('.PHONY', 'distclean-' . $X . $primary);
- &depend ('maintainer-clean-am', 'maintainer-clean-' . $X . $primary);
- &depend ('.PHONY', 'maintainer-clean-' . $X . $primary);
}
if ($X eq 'check')
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
## 02111-1307, USA.
+
## FIXME: This file must exist, even though it is empty.
## automake - create Makefile.in from Makefile.am
-## Copyright 1998 Free Software Foundation, Inc.
+## Copyright 1998, 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
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
## 02111-1307, USA.
-mostlyclean-@DIR@JAVA:
+.PHONY clean-am: clean-@DIR@JAVA:
clean-@DIR@JAVA:
-rm *.class class@DIR@.stamp
-
-distclean-@DIR@JAVA:
-
-maintainer-clean-@DIR@JAVA:
## automake - create Makefile.in from Makefile.am
-## Copyright 1994, 1995, 1996 Free Software Foundation, Inc.
+## Copyright 1994, 1995, 1996, 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
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
## 02111-1307, USA.
-mostlyclean-@DIR@LIBRARIES:
+.PHONY clean-am: clean-@DIR@LIBRARIES
clean-@DIR@LIBRARIES:
-test -z "$(@DIR@_LIBRARIES)" || rm -f $(@DIR@_LIBRARIES)
-
-distclean-@DIR@LIBRARIES:
-
-maintainer-clean-@DIR@LIBRARIES:
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
## 02111-1307, USA.
-.PHONY: clean-lisp
-clean-am: clean-lisp
+.PHONY clean-am: clean-lisp
clean-lisp:
-test -z "$(ELCFILES)" || rm -f $(ELCFILES)
## automake - create Makefile.in from Makefile.am
-## Copyright 1997 Free Software Foundation, Inc.
+## Copyright 1997, 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
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
## 02111-1307, USA.
-mostlyclean-@DIR@LTLIBRARIES:
+.PHONY clean-am: clean-@DIR@LTLIBRARIES
clean-@DIR@LTLIBRARIES:
-test -z "$(@DIR@_LTLIBRARIES)" || rm -f $(@DIR@_LTLIBRARIES)
-
-distclean-@DIR@LTLIBRARIES:
-
-maintainer-clean-@DIR@LTLIBRARIES:
## automake - create Makefile.in from Makefile.am
-## Copyright 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
+## Copyright 1994, 1995, 1996, 1997, 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
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
## 02111-1307, USA.
-mostlyclean-@DIR@PROGRAMS:
+.PHONY clean-am: clean-@DIR@PROGRAMS
clean-@DIR@PROGRAMS:
-test -z "$(@DIR@_PROGRAMS)" || rm -f $(@DIR@_PROGRAMS)
-
-distclean-@DIR@PROGRAMS:
-
-maintainer-clean-@DIR@PROGRAMS:
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
## 02111-1307, USA.
-.PHONY: clean-python
-clean-am: clean-python
+
+.PHONY clean-am: clean-python
clean-python:
-test -z "$(PYCFILES)" || rm -f $(PYCFILES)
-test -z "$(PYOFILES)" || rm -f $(PYOFILES)
## distributions. Since we do not, we instead have "distclean" remove
## them. The rule is: if the user built it, "distclean" removes it.
## If it is shipped, "maintainer-clean" removes it.
-distclean-am: distclean-tags
+
+.PHONY distclean-am: distclean-tags
+
distclean-tags:
-rm -f TAGS ID
-
-.PHONY: distclean-tags