diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2018-05-18 16:15:25 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2018-05-18 16:25:44 +0200 |
commit | 5b86b0e3dca804fce7c3e6adcd636c0a6d341a9b (patch) | |
tree | 9025d000dd68a28ca52228e81fb3c6d2578f71c2 /test/Makefile.in | |
parent | f7435cd8c7bf4c245c9efabbae1274989d2e49ed (diff) | |
download | lvm2-5b86b0e3dca804fce7c3e6adcd636c0a6d341a9b.tar.gz |
build: set clean vars earlier
For better cleaning of test dirs.
Diffstat (limited to 'test/Makefile.in')
-rw-r--r-- | test/Makefile.in | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/test/Makefile.in b/test/Makefile.in index 407babd02..f6345a54c 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -32,6 +32,18 @@ SOURCES = lib/not.c lib/harness.c CXXSOURCES = lib/runner.cpp CXXFLAGS += $(EXTRA_EXEC_CFLAGS) +CLEAN_DIRS += dbus/__pycache__ $(LVM_TEST_RESULTS) +ifneq (.,$(firstword $(srcdir))) +CLEAN_TARGETS += $(RUN_BASE) $(addprefix lib/,$(LIB_LVMLOCKD_CONF)) +endif + +CLEAN_TARGETS += .lib-dir-stamp .tests-stamp $(LIB) $(addprefix lib/,\ + $(CMDS) clvmd dmeventd dmsetup dmstats lvmetad lvmpolld \ + harness lvmdbusd.profile thin-performance.profile fsadm \ + dm-version-expected version-expected \ + paths-installed paths-installed-t paths-common paths-common-t) + + include $(top_builddir)/make.tmpl T ?= . @@ -352,17 +364,6 @@ LIB = $(addprefix lib/, $(LIB_SHARED) $(LIB_LOCAL) $(LIB_NOT) $(LIB_LINK_NOT) $( $(LN_S) -f $(abs_top_srcdir)/test/lib/$$i lib/; done touch $@ -CLEAN_DIRS += $(LVM_TEST_RESULTS) -ifneq (.,$(firstword $(srcdir))) -CLEAN_TARGETS += $(RUN_BASE) $(addprefix lib/,$(LIB_LVMLOCKD_CONF)) -endif - -CLEAN_TARGETS += .lib-dir-stamp .tests-stamp $(LIB) $(addprefix lib/,\ - $(CMDS) clvmd dmeventd dmsetup dmstats lvmetad lvmpolld \ - harness lvmdbusd.profile thin-performance.profile fsadm \ - dm-version-expected version-expected \ - paths-installed paths-installed-t paths-common paths-common-t) - Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ |