summaryrefslogtreecommitdiffstats
path: root/doc/module.defs
diff options
context:
space:
mode:
authorkonablend <[email protected]>2009-03-02 07:30:13 +0000
committerkonablend <[email protected]>2009-03-02 07:30:13 +0000
commit8cfa7b9504c66677bff67d9097541f62ea7e3a40 (patch)
tree3012e41c5e7cfff616714fc5a60c09ecd4fbd31e /doc/module.defs
parentb562bba490ec89339ad839f2e519e5c710fdbaeb (diff)
BuildSystem:
- split build guide into 3 articles, one for each platform - populated root of tree with 3 platform Building guides: osx, cygwin, linux for convenience - added python script (needs python3.0) to optionally generate wiki from .texi articles git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2195 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'doc/module.defs')
-rw-r--r--doc/module.defs7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/module.defs b/doc/module.defs
index 16929f03d..468196c96 100644
--- a/doc/module.defs
+++ b/doc/module.defs
@@ -21,10 +21,13 @@ DOC.texi2html.out = $(patsubst $(DOC.in/)texi/%.texi,$(DOC.out.articles/)html/%.
DOC.texi2txt.out = $(patsubst $(DOC.in/)texi/%.texi,$(DOC.out.articles/)txt/%.txt,$(DOC.texi.articles))
DOC.texi2xml.out = $(patsubst $(DOC.in/)texi/%.texi,$(DOC.out.articles/)xml/%.xml,$(DOC.texi.articles))
+DOC.xml2wiki.out = $(DOC.texi2xml.out:$(DOC.out.articles/)xml/%.xml=$(DOC.out.articles/)wiki/%.wiki)
+
BUILD.out += $(DOC.m4.out)
BUILD.out += $(DOC.texi2html.out)
BUILD.out += $(DOC.texi2txt.out)
BUILD.out += $(DOC.texi2xml.out)
+BUILD.out += $(DOC.xml2wiki.out)
###############################################################################
@@ -39,3 +42,7 @@ MAKEINFO.flags.html = --html --no-headers --no-split
MAKEINFO.flags.txt = --plaintext --no-headers
MAKEINFO.flags.xml = --xml --output-indent=4
MAKEINFO = $(MAKEINFO.exe) $(MAKEINFO.flags) $(MAKEINFO.flags.$(1)) $(2) -o $(3)
+
+XML2WIKI.exe = python3.0 $(DOC.in/)xml2wiki.py
+XML2WIKI.flags = --date --toc
+XML2WIKI = $(XML2WIKI.exe) $(XML2WIKI.flags) $(1) > $(2)