summaryrefslogtreecommitdiffstats
path: root/doc/module.rules
diff options
context:
space:
mode:
Diffstat (limited to 'doc/module.rules')
-rw-r--r--doc/module.rules21
1 files changed, 19 insertions, 2 deletions
diff --git a/doc/module.rules b/doc/module.rules
index f318cf2a4..22d97e672 100644
--- a/doc/module.rules
+++ b/doc/module.rules
@@ -1,8 +1,9 @@
$(eval $(call import.MODULE.rules,DOC))
-doc: doc.articles
+doc: doc.txt
-doc.articles: $(DOC.texi2txt.out)
+doc.txt: $(DOC.texi2txt.out)
+doc.wiki: $(DOC.xml2wiki.out)
doc.clean:
$(RM.exe) -fr $(DOC.out/)
@@ -14,7 +15,23 @@ $(DOC.texi2txt.out): $(DOC.out.articles/)txt/%.txt: $(DOC.in/)texi/%.texi
$(call MAKEINFO,txt,$<,$@)
@echo $^
+$(DOC.texi2xml.out): | $(DOC.m4.out)
+$(DOC.texi2xml.out): | $(dir $(DOC.texi2xml.out))
+$(DOC.texi2xml.out): $(DOC.texi.includes)
+$(DOC.texi2xml.out): $(DOC.out.articles/)xml/%.xml: $(DOC.in/)texi/%.texi
+ $(call MAKEINFO,xml,$<,$@)
+ @echo $^
+
+$(DOC.xml2wiki.out): | $(dir $(DOC.xml2wiki.out))
+$(DOC.xml2wiki.out): $(DOC.out.articles/)wiki/%.wiki: $(DOC.out.articles/)xml/%.xml
+ $(call XML2WIKI,$<,$@)
+
$(DOC.m4.out): | $(dir $(DOC.m4.out))
$(DOC.m4.out): $(DOC.M4.deps)
$(DOC.m4.out): $(DOC.out/)%: $(DOC.in/)%.m4
$(call DOC.M4,$@,$<)
+
+mike:
+ @echo $(DOC.texi2xml.out)
+ @echo $(DOC.xml2wiki.out)
+ @echo ok