From 4f35009acc4a0191ed6620a1a6db8e8e0bb1429e Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Sun, 10 Aug 2014 13:55:25 +0000 Subject: [PATCH] Doc: Manpages are installed to rundir so that you can use 'man -M run/doc/man ucw-tableprinter'. --- build/Makebottom | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2