mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
makefiles: fix man-generate rule
Symlink and compiled man-generate binary has to go to builddir.
This commit is contained in:
parent
824230e1e2
commit
8d93d8b7b7
@ -128,13 +128,13 @@ lvm: $(OBJECTS) lvm.o $(LVMINTERNAL_LIBS)
|
|||||||
|
|
||||||
DEFS_man-generator.o += -DMAN_PAGE_GENERATOR
|
DEFS_man-generator.o += -DMAN_PAGE_GENERATOR
|
||||||
|
|
||||||
man-generator.c: command.c
|
man-generator.c: $(srcdir)/command.c
|
||||||
@echo " [LN] $@"
|
@echo " [LN] $@"
|
||||||
$(Q) $(LN_S) -f $< $@
|
$(Q) $(LN_S) -f $< $(@F)
|
||||||
|
|
||||||
man-generator: man-generator.o
|
man-generator: man-generator.o
|
||||||
@echo " [CC] $@"
|
@echo " [CC] $@"
|
||||||
$(Q) $(CC) $(CFLAGS) -o $@ $<
|
$(Q) $(CC) $(CFLAGS) -o $@ $(<F)
|
||||||
|
|
||||||
lvm.static: $(OBJECTS) lvm-static.o $(LVMINTERNAL_LIBS)
|
lvm.static: $(OBJECTS) lvm-static.o $(LVMINTERNAL_LIBS)
|
||||||
@echo " [CC] $@"
|
@echo " [CC] $@"
|
||||||
|
Loading…
Reference in New Issue
Block a user