1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-18 10:04:20 +03:00

makefile: cleanup after build

Provide cleaning rules for build dir and release tgz.
This commit is contained in:
Zdenek Kabelac 2015-05-11 15:52:11 +02:00
parent fabc19b73c
commit 62e7a6ca1a

View File

@ -49,6 +49,8 @@ tools.distclean: test.distclean
endif endif
DISTCLEAN_DIRS += lcov_reports* DISTCLEAN_DIRS += lcov_reports*
DISTCLEAN_TARGETS += config.cache config.log config.status make.tmpl DISTCLEAN_TARGETS += config.cache config.log config.status make.tmpl
clean:
$(RM) -r build
include make.tmpl include make.tmpl
@ -100,6 +102,7 @@ check check_system check_cluster check_local check_lvmetad unit: all
conf.generate: tools conf.generate: tools
VER = LVM2.@LVM_MAJOR@.@LVM_MINOR@.@LVM_PATCHLEVEL@ VER = LVM2.@LVM_MAJOR@.@LVM_MINOR@.@LVM_PATCHLEVEL@
CLEAN_TARGETS += $(VER).tgz
dist: dist:
@echo "Generating $(VER).tgz";\ @echo "Generating $(VER).tgz";\