Skip to contentSkip to conversation

master - Makefiles: fix distclean dir dependency

PATCH Alasdair Kergon 1 participant 1 message Oct 15, 2012 Kbuild

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=895ee616425215136ec346d4637d2887add27913
Commit:        895ee616425215136ec346d4637d2887add27913
Parent:        d365bfe7e96b23297d3aac3485f98998bb220613
Author:        Alasdair G Kergon <[email protected]>
AuthorDate:    Mon Oct 15 14:15:59 2012 +0100
Committer:     Alasdair G Kergon <[email protected]>
CommitterDate: Mon Oct 15 14:15:59 2012 +0100

Makefiles: fix distclean dir dependency

test distclean uses tools so must distclean tools after test

---
 Makefile.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Makefile.in +1 -0
index bbfcf2c..4d39577 100644
@@ -44,6 +44,7 @@ ifeq ($(MAKECMDGOALS),distclean)
     libdaemon lib tools daemons libdm \
     udev po liblvm python \
     unit-tests/datastruct unit-tests/mm unit-tests/regex
+tools.distclean: test.distclean
 endif
 DISTCLEAN_DIRS += lcov_reports*
 DISTCLEAN_TARGETS += config.cache config.log config.status make.tmpl