]> mj.ucw.cz Git - libucw.git/commitdiff
Doc. system: fix build in libsonly distribution
authorMichal Vaner <vorner@ucw.cz>
Sat, 4 Oct 2008 13:32:19 +0000 (15:32 +0200)
committerMichal Vaner <vorner@ucw.cz>
Sat, 4 Oct 2008 13:32:19 +0000 (15:32 +0200)
For some reason, the DOCDIR variable did not work in runtree generation,
had to move it above it.

build/Makebottom

index bbb62b11dd0afeeffb3aae6ffca2782d58caa776..7edfc54264abef4f321139dedef8da92e9dfb376 100644 (file)
@@ -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 $<