From: Michal Vaner Date: Sun, 7 Sep 2008 15:17:15 +0000 (+0200) Subject: Doc. system: build rules for indeces and deflists X-Git-Tag: holmes-import~331 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=ba3eee25d3878cbf38a94abd6f06c7411700e363;p=libucw.git Doc. system: build rules for indeces and deflists --- diff --git a/build/Makebottom b/build/Makebottom index 31046591..38e84bce 100644 --- a/build/Makebottom +++ b/build/Makebottom @@ -16,7 +16,7 @@ programs: $(PROGS) datafiles: $(DATAFILES) tests: $(TESTS) configs: $(addprefix run/$(CONFIG_DIR)/,$(CONFIGS)) -docs: runtree $(DOCS) $(DOC_INDEXES) +docs: runtree $(DOCS) $(DOC_INDECES) tags: etags `find . -name "*.[ch]"` @@ -197,7 +197,7 @@ $(o)/%.html: $(o)/%.txt $(M)"AD $< -> $@" $(Q)asciidoc -e -f $(s)/build/asciidoc.conf -f $(s)/build/asciidoc-xhtml.conf -f /etc/asciidoc/asciidoc.conf -f /etc/asciidoc/xhtml11.conf $< -$(patsubst %.html,%.txt,$(DOC_INDEXES)): $(o)/%.txt: +$(patsubst %.html,%.txt,$(DOC_INDECES)): $(o)/%.txt: $(M)"DD -> $@" $(Q)echo $@: $(DOC_HEAD) $(DOC_LIST) >> $(o)/depend.new $(Q)$(s)/build/def-doc.pl $(DOC_HEAD) $@ $(DOC_LIST)