summaryrefslogtreecommitdiff
path: root/daemons
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2021-02-28 21:20:54 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2021-03-02 22:54:40 +0100
commit39eee85fff1930047a7dffe11183b4cafb6eb653 (patch)
tree2e14bb7ee026fa0c5cb11d14088462d41196272d /daemons
parent456b659b4edfc758b5aa0b72af25677a4f5042ea (diff)
downloadlvm2-39eee85fff1930047a7dffe11183b4cafb6eb653.tar.gz
makefiles: better logging
Show only filename instead of full path name when building in builddir != srcdir
Diffstat (limited to 'daemons')
-rw-r--r--daemons/dmeventd/Makefile.in2
-rw-r--r--daemons/lvmlockd/Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/daemons/dmeventd/Makefile.in b/daemons/dmeventd/Makefile.in
index 6bd36d032..99e4a816f 100644
--- a/daemons/dmeventd/Makefile.in
+++ b/daemons/dmeventd/Makefile.in
@@ -82,7 +82,7 @@ CFLOW_SOURCES = $(addprefix $(srcdir)/, $(SOURCES))
endif
install_include: $(srcdir)/libdevmapper-event.h
- @echo " [INSTALL] $<"
+ @echo " [INSTALL] $(<F)"
$(Q) $(INSTALL_DATA) -D $< $(includedir)/$(<F)
install_pkgconfig: libdevmapper-event.pc
diff --git a/daemons/lvmlockd/Makefile.in b/daemons/lvmlockd/Makefile.in
index 9c0340145..bd577d1e6 100644
--- a/daemons/lvmlockd/Makefile.in
+++ b/daemons/lvmlockd/Makefile.in
@@ -56,7 +56,7 @@ lvmlockd: $(OBJECTS) $(top_builddir)/libdaemon/client/libdaemonclient.a \
lvmlockctl: lvmlockctl.o $(top_builddir)/libdaemon/client/libdaemonclient.a
@echo " [CC] $@"
- $(Q) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ lvmlockctl.o $(INTERNAL_LIBS) $(LIBS)
+ $(Q) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(INTERNAL_LIBS) $(LIBS)
install_lvmlockd: lvmlockd
@echo " [INSTALL] $<"