From: Michal Vaner Date: Sat, 4 Oct 2008 13:32:19 +0000 (+0200) Subject: Doc. system: fix build in libsonly distribution X-Git-Tag: holmes-import~266 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=7d0207a101264c6f3f8335d6671829d7700dda8a;p=libucw.git Doc. system: fix build in libsonly distribution For some reason, the DOCDIR variable did not work in runtree generation, had to move it above it. --- diff --git a/build/Makebottom b/build/Makebottom index bbb62b11..7edfc542 100644 --- a/build/Makebottom +++ b/build/Makebottom @@ -3,6 +3,8 @@ # The run tree +DOCDIR=doc + runtree: run/.tree-stamp $(addsuffix /.dir-stamp,$(addprefix $(o)/,$(DIRS)) $(addprefix run/$(DOCDIR)/,$(DOC_MODULES))) run/.tree-stamp: $(o)/config.mk @@ -195,8 +197,6 @@ $(DATAFILES): $(o)/%: $(s)/% # Rules for documentation -DOCDIR=doc - $(o)/%.html: $(o)/%.txt $(s)/build/asciidoc.conf $(s)/build/asciidoc-xhtml.conf run/$(DOCDIR)/$(DOC_MODULE)/.dir-stamp $(M)"DOC-HTML $<" $(Q)asciidoc -e -f $(s)/build/asciidoc.conf -f $(s)/build/asciidoc-xhtml.conf -f /etc/asciidoc/asciidoc.conf -f /etc/asciidoc/xhtml11.conf $<