From: Pavel Charvat Date: Sun, 10 Aug 2014 13:55:25 +0000 (+0000) Subject: Doc: Manpages are installed to rundir so that you can use 'man -M run/doc/man ucw... X-Git-Tag: v6.1.1~11 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=4f35009acc4a0191ed6620a1a6db8e8e0bb1429e;p=libucw.git Doc: Manpages are installed to rundir so that you can use 'man -M run/doc/man ucw-tableprinter'. --- diff --git a/build/Makebottom b/build/Makebottom index b6695962..7e2fea64 100644 --- a/build/Makebottom +++ b/build/Makebottom @@ -210,9 +210,10 @@ $(o)/%.html: $(o)/%.txt $(BUILDSYS)/asciidoc.conf $(BUILDSYS)/asciidoc-xhtml.con $(Q)asciidoc -e -f $(BUILDSYS)/asciidoc.conf -f $(BUILDSYS)/asciidoc-xhtml.conf -f $(HOST_PREFIX)/etc/asciidoc/asciidoc.conf -f $(HOST_PREFIX)/etc/asciidoc/xhtml11.conf $< $(Q)$(call symlink,$@,run/$(DOCDIR)/$(DOC_MODULE)) -$(MANPAGES): $(o)/%.1: $(s)/%.txt +$(MANPAGES): $(o)/%.1: $(s)/%.txt run/$(DOCDIR)/man/man1/.dir-stamp $(M)"DOC-MANPAGE $<" $(Q)a2x -d manpage -f manpage -D $(dir $@) $< + $(Q)$(call symlink,$@,run/$(DOCDIR)/man/man1) # In reality, we do not depend on the .txt files, but on the corresponding .deflist's. # However, the Makefile language cannot express that doc-extract generates both .txt