]> mj.ucw.cz Git - libucw.git/commitdiff
Doc. system: build rules for indeces and deflists
authorMichal Vaner <vorner@ucw.cz>
Sun, 7 Sep 2008 15:17:15 +0000 (17:17 +0200)
committerMichal Vaner <vorner@ucw.cz>
Sun, 7 Sep 2008 15:17:15 +0000 (17:17 +0200)
build/Makebottom

index 310465917dddd9ecdaf504b9c134130b927979d8..38e84bce1b0366b643c82fb840a1572867d20a0a 100644 (file)
@@ -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)