From 8d93d8b7b7f9ae90e56f171e694da0304ab3c6fe Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Sun, 28 Feb 2021 01:17:31 +0100 Subject: [PATCH] makefiles: fix man-generate rule Symlink and compiled man-generate binary has to go to builddir. --- tools/Makefile.in | 6 +++--- 1 file 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 $@ $(