mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Distcleanup config files only in toplevel directory.
Do not execute 'rm -r' with empty $(DISTCLEAN_DIRS). lvm-version.h is already cleaned with subtarget distcleaning. Always distcleanup lcov_reports*.
This commit is contained in:
parent
6a27e819d7
commit
e83968fa28
@ -37,8 +37,9 @@ ifeq ($(MAKECMDGOALS),distclean)
|
|||||||
SUBDIRS = doc include man scripts \
|
SUBDIRS = doc include man scripts \
|
||||||
lib tools daemons libdm \
|
lib tools daemons libdm \
|
||||||
udev po liblvm test/api test
|
udev po liblvm test/api test
|
||||||
DISTCLEAN_DIRS += lcov_reports*
|
|
||||||
endif
|
endif
|
||||||
|
DISTCLEAN_DIRS += lcov_reports*
|
||||||
|
DISTCLEAN_TARGETS += config.cache config.log config.status make.tmpl
|
||||||
|
|
||||||
include make.tmpl
|
include make.tmpl
|
||||||
|
|
||||||
|
@ -306,11 +306,8 @@ clean: $(SUBDIRS.clean)
|
|||||||
$(SOURCES2:%.c=%.o) $(SOURCES2:%.c=%.d) $(SOURCES2:%.c=%.gcno) $(SOURCES2:%.c=%.gcda)
|
$(SOURCES2:%.c=%.o) $(SOURCES2:%.c=%.d) $(SOURCES2:%.c=%.gcno) $(SOURCES2:%.c=%.gcda)
|
||||||
|
|
||||||
distclean: clean $(SUBDIRS.distclean)
|
distclean: clean $(SUBDIRS.distclean)
|
||||||
$(RM) -r $(DISTCLEAN_DIRS)
|
test -z "$(DISTCLEAN_DIRS)" || $(RM) -r $(DISTCLEAN_DIRS)
|
||||||
$(RM) $(DISTCLEAN_TARGETS) \
|
$(RM) $(DISTCLEAN_TARGETS) Makefile core
|
||||||
config.cache config.log config.status \
|
|
||||||
Makefile make.tmpl core \
|
|
||||||
lvm-version.h
|
|
||||||
|
|
||||||
.export.sym: .exported_symbols
|
.export.sym: .exported_symbols
|
||||||
set -e; (echo "Base {"; echo " global:"; \
|
set -e; (echo "Base {"; echo " global:"; \
|
||||||
|
Loading…
Reference in New Issue
Block a user