summaryrefslogtreecommitdiffstats
path: root/lib/Makefile.in
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2010-03-29 14:09:25 +0000
committerZdenek Kabelac <zkabelac@redhat.com>2010-03-29 14:09:25 +0000
commit1a91d0914e9709417f0582999eaaef85d80a29ce (patch)
tree4f5f719fa4671db790f00f6e9e12230445f097be /lib/Makefile.in
parent08db4eeb5135831f4985b9b09fe3c3ee333ae8d0 (diff)
downloadlvm2-1a91d0914e9709417f0582999eaaef85d80a29ce.tar.gz
lvm2-1a91d0914e9709417f0582999eaaef85d80a29ce.tar.xz
lvm2-1a91d0914e9709417f0582999eaaef85d80a29ce.zip
distclean fixes
Move daemons/ and lib/ subtargets to their Makefiles so we don't get double cleanup error during execution of distclean target. Instead of duplicating clean target inside distclean target, just use it as a subtarget and avoid add duplicating code.
Diffstat (limited to 'lib/Makefile.in')
-rw-r--r--lib/Makefile.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/Makefile.in b/lib/Makefile.in
index a2e66f3e..c83dc894 100644
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -152,6 +152,15 @@ LIB_STATIC = $(LIB_NAME).a
CLEAN_TARGETS += $(LIB_NAME).cflow
+ifeq ($(MAKECMDGOALS),distclean)
+ SUBDIRS =\
+ format1 \
+ format_pool \
+ snapshot \
+ mirror \
+ locking
+endif
+
include $(top_builddir)/make.tmpl
$(SUBDIRS): $(LIB_STATIC)