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)
|
ifeq ($(MAKECMDGOALS),distclean)
|
||||||
SUBDIRS += daemons/clvmd \
|
SUBDIRS += daemons/clvmd \
|
||||||
daemons/dmeventd/plugins \
|
daemons/dmeventd/plugins \
|
||||||
|
daemons/dmeventd \
|
||||||
lib/format1 \
|
lib/format1 \
|
||||||
lib/format_pool \
|
lib/format_pool \
|
||||||
lib/locking \
|
lib/locking \
|
||||||
lib/mirror \
|
lib/mirror \
|
||||||
lib/snapshot \
|
lib/snapshot \
|
||||||
|
test/api \
|
||||||
test \
|
test \
|
||||||
po
|
po
|
||||||
DISTCLEAN_TARGETS += lib/misc/configure.h
|
DISTCLEAN_TARGETS += lib/misc/configure.h lib/misc/lvm-version.h
|
||||||
DISTCLEAN_DIRS += lcov_reports*
|
DISTCLEAN_DIRS += lcov_reports*
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -24,3 +24,6 @@ ifeq ("@FSADM@", "yes")
|
|||||||
$(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) fsadm.sh \
|
$(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) fsadm.sh \
|
||||||
$(sbindir)/fsadm
|
$(sbindir)/fsadm
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
distclean:
|
||||||
|
$(RM) Makefile clvmd_init_red_hat
|
||||||
|
@ -81,6 +81,7 @@ clean:
|
|||||||
rm -rf init.sh lvm-wrapper bin .bin-dir-stamp
|
rm -rf init.sh lvm-wrapper bin .bin-dir-stamp
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
|
rm -f Makefile
|
||||||
|
|
||||||
.PHONY: $(T) clean distclean
|
.PHONY: $(T) clean distclean
|
||||||
.NOTPARALLEL:
|
.NOTPARALLEL:
|
||||||
|
Loading…
Reference in New Issue
Block a user