From c92d905d8d337d51275c5dee07b5b0500a44d1d9 Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Sun, 10 Aug 2014 12:02:01 +0000 Subject: [PATCH] Doc: Simplified rule for compilation of manpages. --- build/Makebottom | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- 2.39.2