From 62e7a6ca1a3479017b026c380a97c9f826b087da Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 11 May 2015 15:52:11 +0200 Subject: makefile: cleanup after build Provide cleaning rules for build dir and release tgz. --- Makefile.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile.in') 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";\ -- cgit v1.2.1