automake-ng
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-NG] [PATCH 02/14] [ng] deptrack: clean depdirs using *clean-am


From: Stefano Lattarini
Subject: [Automake-NG] [PATCH 02/14] [ng] deptrack: clean depdirs using *clean-am targets
Date: Thu, 21 Jun 2012 12:32:33 +0200

* 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 <address@hidden>
---
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]