mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
Doc/Makefile: error out if req tools absent
Make sure we have a clear message why build it failing, as there are repeated questions at criu@ mailing list. Before this patch: [kir@kirpad Documentation]$ make GEN criu.8 make: *** [criu.8] Error 127 After: [kir@kirpad Documentation]$ make /bin/sh: line 1: xmltos: command not found make: *** [check] Error 1 Signed-off-by: Kir Kolyshkin <kir@openvz.org> Acked-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
d01025edd9
commit
071312d9d5
1 changed files with 7 additions and 2 deletions
|
|
@ -16,10 +16,15 @@ GROFF_OPTS := -Tps -t -dpaper=$(PAPER) -P-p$(PAPER) \
|
|||
PSS := $(MANS:%.8=%.ps)
|
||||
PDFS := $(MANS:%.8=%.pdf)
|
||||
|
||||
all: $(MANS)
|
||||
all: check $(MANS)
|
||||
ps: $(PSS)
|
||||
pdf: $(PDFS)
|
||||
.PHONY: all ps pdf
|
||||
.PHONY: all ps pdf check
|
||||
|
||||
check:
|
||||
$(Q) for B in $(ASCIIDOC) $(A2X) $(XMLTO); do \
|
||||
$$B --version > /dev/null || exit 1; \
|
||||
done
|
||||
|
||||
%.8: %.txt
|
||||
$(E) " GEN " $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue