By gnu coding stds, 'distclean' should remove all files generated
by ./configure in addition to what 'clean' does.
Author: Takahiro Yasui <tyasui@redhat.com>
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
$(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) fsadm.sh \
$(sbindir)/fsadm
endif
+
+distclean:
+ $(RM) Makefile clvmd_init_red_hat
rm -rf init.sh lvm-wrapper bin .bin-dir-stamp
distclean: clean
+ rm -f Makefile
.PHONY: $(T) clean distclean
.NOTPARALLEL: