Projects STRLCPY criu Commits cad611b3
🤬
  • 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: [email protected]
    Signed-off-by: Dmitry Safonov <[email protected]>
    Signed-off-by: Andrei Vagin <[email protected]>
  • Loading...
  • Dmitry Safonov committed with Andrei Vagin 6 years ago
    cad611b3
    1 parent 18d4be7c
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
  • ■ ■ ■ ■
    Documentation/Makefile
    skipped 68 lines
    69 69   $(call msg-clean, "Documentation")
    70 70   $(Q) rm -f $(XMLS) $(MANS) $(PSS) $(PDFS) $(FOOTER)
    71 71   
    72  -install: $(MANS)
     72 +install: check $(MANS)
    73 73   $(E) " INSTALL " $(MAN8S)
    74 74   $(Q) mkdir -p $(DESTDIR)$(MAN8DIR)
    75 75   $(Q) install -m 644 $(MAN8S) $(DESTDIR)$(MAN8DIR)
    skipped 12 lines
Please wait...
Page is in error, reload to recover