[Top][All Lists]
[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
- Re: [Automake-NG] [PATCH 01/14] [ng] deptrack: remove an obsolete comment, (continued)
[Automake-NG] [PATCH 03/14] [ng] clean: simplify cleaning of compiled objects, Stefano Lattarini, 2012/06/21
Re: [Automake-NG] [PATCH 03/14] [ng] clean: simplify cleaning of compiled objects, Dave Hart, 2012/06/21
[Automake-NG] [PATCH 02/14] [ng] deptrack: clean depdirs using *clean-am targets,
Stefano Lattarini <=
[Automake-NG] [PATCH 04/14] [ng] clean: revam p recipes and APIs to extend cleaning rules, Stefano Lattarini, 2012/06/21
Re: [Automake-NG] [PATCH 04/14] [ng] clean: revamp recipes and APIs to extend cleaning rules, Dave Hart, 2012/06/21
[Automake-NG] [PATCH 06/14] [ng] automake: new global variable '%clean_dirs', Stefano Lattarini, 2012/06/21