summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2015-05-11 15:52:11 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2015-05-11 15:53:46 +0200
commit62e7a6ca1a3479017b026c380a97c9f826b087da (patch)
tree52eefae437730890acda49e43009cb7064d2f111 /Makefile.in
parentfabc19b73cb08f1a80bbf558b858110520ee8b53 (diff)
downloadlvm2-62e7a6ca1a3479017b026c380a97c9f826b087da.tar.gz
makefile: cleanup after build
Provide cleaning rules for build dir and release tgz.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 30c2c8992..ac806bb23 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -49,6 +49,8 @@ tools.distclean: test.distclean
endif
DISTCLEAN_DIRS += lcov_reports*
DISTCLEAN_TARGETS += config.cache config.log config.status make.tmpl
+clean:
+ $(RM) -r build
include make.tmpl
@@ -100,6 +102,7 @@ check check_system check_cluster check_local check_lvmetad unit: all
conf.generate: tools
VER = LVM2.@LVM_MAJOR@.@LVM_MINOR@.@LVM_PATCHLEVEL@
+CLEAN_TARGETS += $(VER).tgz
dist:
@echo "Generating $(VER).tgz";\