From: Stefano Lattarini Date: Wed, 30 May 2012 14:35:34 +0000 (+0200) Subject: [ng] deptrack: clean depdirs using *clean-am targets X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e757c6261fe69fc83efba6b6ca89b2ad0b89d87;p=thirdparty%2Fautomake.git [ng] deptrack: clean depdirs using *clean-am targets * 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 --- diff --git a/lib/am/depend.am b/lib/am/depend.am index 4d041bf5f..c29891aea 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