From cad611b36091e18de36c916923d9bd76935c73f5 Mon Sep 17 00:00:00 2001 From: Dmitry Safonov Date: Mon, 30 Apr 2018 19:41:58 +0100 Subject: [PATCH] Documentation/make: Call check before install Let's warn about binary needed for `install` target. Before: [root@localhost criu]# make install GEN crit.1 make[1]: *** [Makefile:49: crit.1] Error 127 make: *** [Makefile.install:32: install-man] Error 2 After: [root@localhost criu]# make install /bin/sh: line 1: xmlto: command not found make[1]: *** [Makefile:32: check] Error 1 make: *** [Makefile.install:32: install-man] Error 2 Fixes: #481 Reported-by: treaki@gmail.com Signed-off-by: Dmitry Safonov Signed-off-by: Andrei Vagin --- Documentation/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/Makefile b/Documentation/Makefile index de41b3bb2..fe640b0ee 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -69,7 +69,7 @@ clean: $(call msg-clean, "Documentation") $(Q) rm -f $(XMLS) $(MANS) $(PSS) $(PDFS) $(FOOTER) -install: $(MANS) +install: check $(MANS) $(E) " INSTALL " $(MAN8S) $(Q) mkdir -p $(DESTDIR)$(MAN8DIR) $(Q) install -m 644 $(MAN8S) $(DESTDIR)$(MAN8DIR)