]> mj.ucw.cz Git - libucw.git/commitdiff
Doc: Manpages are installed to rundir so that you can use 'man -M run/doc/man ucw...
authorPavel Charvat <pchar@ucw.cz>
Sun, 10 Aug 2014 13:55:25 +0000 (13:55 +0000)
committerPavel Charvat <pchar@ucw.cz>
Sun, 10 Aug 2014 13:55:25 +0000 (13:55 +0000)
build/Makebottom

index b66959624576f20acfe86252a0e1c39d8c9beb67..7e2fea64b3c04a4370861533fad691cc80f4f66a 100644 (file)
@@ -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