* lib/am/depend.am (am--clean-depdirs): New target, removing the $(DEPDIR) directory. (distclean, maintainer-clean): Renamed ... (distclean-am, maintainer-clean-am): ... to these, and depend on the new target above to clean the $(DEPDIR) directory. Given the current status of the Automake internals, this shouldn't cause any change in the automake behaviour, but the new form of these declarations will be useful in future refactorings.
Signed-off-by: Stefano Lattarini <[email protected]> --- lib/am/depend.am | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/am/depend.am b/lib/am/depend.am index 4d041bf..c29891a 100644 --- a/lib/am/depend.am +++ b/lib/am/depend.am @@ -16,8 +16,9 @@ am__mv = mv -f -distclean: +.PHONY: am--clean-depdirs +am--clean-depdirs: -rm -rf %DEPDIRS% -maintainer-clean: - -rm -rf %DEPDIRS% +distclean-am: am--clean-depdirs +maintainer-clean-am: am--clean-depdirs -- 1.7.9.5
