X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=build%2FMakebottom;h=bb8c67d0ecb12b244a880e15b33d637afdc15cbe;hb=1481eca416a467e9952dbc5e4852afe66eaf1256;hp=b66959624576f20acfe86252a0e1c39d8c9beb67;hpb=c92d905d8d337d51275c5dee07b5b0500a44d1d9;p=libucw.git diff --git a/build/Makebottom b/build/Makebottom index b6695962..bb8c67d0 100644 --- a/build/Makebottom +++ b/build/Makebottom @@ -210,9 +210,11 @@ $(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 - $(M)"DOC-MANPAGE $<" +$(MANPAGES): $(o)/%: $(s)/%.txt + $(M)"DOC-MAN $<" $(Q)a2x -d manpage -f manpage -D $(dir $@) $< + $(Q)mkdir -p run/$(DOCDIR)/man/man$(subst .,,$(suffix $@)) + $(Q)$(call symlink,$@,run/$(DOCDIR)/man/man$(subst .,,$(suffix $@))) # 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