From: Pavel Charvat Date: Sun, 10 Aug 2014 12:02:01 +0000 (+0000) Subject: Doc: Simplified rule for compilation of manpages. X-Git-Tag: v6.1.1~14 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=c92d905d8d337d51275c5dee07b5b0500a44d1d9;p=libucw.git Doc: Simplified rule for compilation of manpages. --- diff --git a/build/Makebottom b/build/Makebottom index 585204dc..b6695962 100644 --- a/build/Makebottom +++ b/build/Makebottom @@ -211,9 +211,8 @@ $(o)/%.html: $(o)/%.txt $(BUILDSYS)/asciidoc.conf $(BUILDSYS)/asciidoc-xhtml.con $(Q)$(call symlink,$@,run/$(DOCDIR)/$(DOC_MODULE)) $(MANPAGES): $(o)/%.1: $(s)/%.txt - $(M)"MANPAGE $<" - $(Q)a2x -d manpage -f manpage $< - $(Q)mv $(patsubst %.txt, %.1, $<) $(dir $@) + $(M)"DOC-MANPAGE $<" + $(Q)a2x -d manpage -f manpage -D $(dir $@) $< # 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