1
0
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:
Dave Wysochanski 2009-03-16 18:28:04 +00:00
parent d726767f14
commit f5ac9a9495
3 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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: