mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Fix some distclean rules.
By gnu coding stds, 'distclean' should remove all files generated by ./configure in addition to what 'clean' does. Author: Takahiro Yasui <tyasui@redhat.com>
This commit is contained in:
parent
d726767f14
commit
f5ac9a9495
@ -27,14 +27,16 @@ SUBDIRS += lib tools daemons libdm liblvm
|
||||
ifeq ($(MAKECMDGOALS),distclean)
|
||||
SUBDIRS += daemons/clvmd \
|
||||
daemons/dmeventd/plugins \
|
||||
daemons/dmeventd \
|
||||
lib/format1 \
|
||||
lib/format_pool \
|
||||
lib/locking \
|
||||
lib/mirror \
|
||||
lib/snapshot \
|
||||
test/api \
|
||||
test \
|
||||
po
|
||||
DISTCLEAN_TARGETS += lib/misc/configure.h
|
||||
DISTCLEAN_TARGETS += lib/misc/configure.h lib/misc/lvm-version.h
|
||||
DISTCLEAN_DIRS += lcov_reports*
|
||||
endif
|
||||
|
||||
|
@ -24,3 +24,6 @@ ifeq ("@FSADM@", "yes")
|
||||
$(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) fsadm.sh \
|
||||
$(sbindir)/fsadm
|
||||
endif
|
||||
|
||||
distclean:
|
||||
$(RM) Makefile clvmd_init_red_hat
|
||||
|
@ -81,6 +81,7 @@ clean:
|
||||
rm -rf init.sh lvm-wrapper bin .bin-dir-stamp
|
||||
|
||||
distclean: clean
|
||||
rm -f Makefile
|
||||
|
||||
.PHONY: $(T) clean distclean
|
||||
.NOTPARALLEL:
|
||||
|
Loading…
Reference in New Issue
Block a user