diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2021-02-28 01:17:31 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2021-03-02 22:54:40 +0100 |
commit | 8d93d8b7b7f9ae90e56f171e694da0304ab3c6fe (patch) | |
tree | 677b219d1b8aecb3fe8a50de9472fa960c5886fa /tools/Makefile.in | |
parent | 824230e1e27c285eff98cec7497ef9474ceb4ddd (diff) | |
download | lvm2-8d93d8b7b7f9ae90e56f171e694da0304ab3c6fe.tar.gz |
makefiles: fix man-generate rule
Symlink and compiled man-generate binary has to go to builddir.
Diffstat (limited to 'tools/Makefile.in')
-rw-r--r-- | tools/Makefile.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/Makefile.in b/tools/Makefile.in index dce85726b..c89c75fa5 100644 --- a/tools/Makefile.in +++ b/tools/Makefile.in @@ -128,13 +128,13 @@ lvm: $(OBJECTS) lvm.o $(LVMINTERNAL_LIBS) DEFS_man-generator.o += -DMAN_PAGE_GENERATOR -man-generator.c: command.c +man-generator.c: $(srcdir)/command.c @echo " [LN] $@" - $(Q) $(LN_S) -f $< $@ + $(Q) $(LN_S) -f $< $(@F) man-generator: man-generator.o @echo " [CC] $@" - $(Q) $(CC) $(CFLAGS) -o $@ $< + $(Q) $(CC) $(CFLAGS) -o $@ $(<F) lvm.static: $(OBJECTS) lvm-static.o $(LVMINTERNAL_LIBS) @echo " [CC] $@" |