diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2018-06-22 22:43:58 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2018-06-22 23:36:54 +0200 |
commit | 8215e3503d0799211d268c3e2a0f1b648d5f9584 (patch) | |
tree | 5dc0104ba225ed60e038e9bcb842016d7531e678 /test/Makefile.in | |
parent | fa58fc32576a08bf11fa98623473f5e6ec5b6d68 (diff) | |
download | lvm2-8215e3503d0799211d268c3e2a0f1b648d5f9584.tar.gz |
tests: fix rules for mke2fs.conf install
Diffstat (limited to 'test/Makefile.in')
-rw-r--r-- | test/Makefile.in | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/test/Makefile.in b/test/Makefile.in index 39093bf09..5b7578ce8 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -34,7 +34,7 @@ CXXFLAGS += $(EXTRA_EXEC_CFLAGS) CLEAN_DIRS += dbus/__pycache__ $(LVM_TEST_RESULTS) ifneq (.,$(firstword $(srcdir))) -CLEAN_TARGETS += $(RUN_BASE) $(addprefix lib/,$(LIB_LVMLOCKD_CONF)) +CLEAN_TARGETS += $(RUN_BASE) $(addprefix lib/,$(LIB_LVMLOCKD_CONF) $(LIB_MKE2FS_CONF)) endif CLEAN_TARGETS += .lib-dir-stamp .tests-stamp $(LIB) $(addprefix lib/,\ @@ -239,7 +239,10 @@ LIB_LVMLOCKD_CONF = \ test-dlm-conf \ test-sanlock-conf -LIB_LOCAL = paths runner mke2fs.conf +LIB_MKE2FS_CONF = \ + mke2fs.conf + +LIB_LOCAL = paths runner LIB_NOT = not LIB_LINK_NOT = invalid fail should LIB_SHARED = check aux inittest utils get lvm-wrapper @@ -249,13 +252,13 @@ install: .tests-stamp lib/paths-installed $(INSTALL_DIR) $(DATADIR)/{shell,unit,lib,dbus} $(EXECDIR) $(INSTALL_DATA) shell/*.sh $(DATADIR)/shell $(INSTALL_DATA) unit/*.sh $(DATADIR)/unit - $(INSTALL_DATA) lib/mke2fs.conf $(DATADIR)/lib -$(INSTALL_PROGRAM) unit/unit-test $(DATADIR)/unit -$(INSTALL_PROGRAM) dbus/*.py $(DATADIR)/dbus/ $(INSTALL_DATA) lib/paths-installed $(DATADIR)/lib/paths cd lib && $(INSTALL_DATA) \ $(LIB_FLAVOURS) \ $(LIB_LVMLOCKD_CONF) \ + $(LIB_MKE2FS_CONF) \ dm-version-expected \ version-expected \ $(DATADIR)/lib @@ -340,9 +343,6 @@ lib/version-expected: $(top_srcdir)/VERSION .lib-dir-stamp lib/dm-version-expected: $(top_srcdir)/VERSION_DM .lib-dir-stamp cut -f 1 -d ' ' <$< >$@ -lib/mke2fs.conf: $(srcdir)/lib/mke2fs.conf - $(LN_S) -f $< $@ - CMDS = lvm $(shell cat $(top_builddir)/tools/.commands 2>/dev/null) LIB = $(addprefix lib/, $(LIB_SHARED) $(LIB_LOCAL) $(LIB_NOT) $(LIB_LINK_NOT) $(LIB_FLAVOURS)) @@ -369,8 +369,9 @@ LIB = $(addprefix lib/, $(LIB_SHARED) $(LIB_LOCAL) $(LIB_NOT) $(LIB_LINK_NOT) $( $(LN_S) -f $(abs_top_srcdir)/conf/lvmdbusd.profile lib/ $(LN_S) -f $(abs_top_srcdir)/conf/thin-performance.profile lib/ $(LN_S) -f $(abs_top_srcdir)/scripts/fsadm.sh lib/fsadm - test "$(srcdir)" = . || for i in $(LIB_LVMLOCKD_CONF); do \ - $(LN_S) -f $(abs_top_srcdir)/test/lib/$$i lib/; done + test "$(srcdir)" = . || \ + for i in $(LIB_LVMLOCKD_CONF) $(LIB_MKE2FS_CONF); do \ + $(LN_S) -f $(abs_top_srcdir)/test/lib/$$i lib/; done touch $@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |