diff options
author | konablend <[email protected]> | 2009-03-02 07:30:13 +0000 |
---|---|---|
committer | konablend <[email protected]> | 2009-03-02 07:30:13 +0000 |
commit | 8cfa7b9504c66677bff67d9097541f62ea7e3a40 (patch) | |
tree | 3012e41c5e7cfff616714fc5a60c09ecd4fbd31e /doc/module.rules | |
parent | b562bba490ec89339ad839f2e519e5c710fdbaeb (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.rules')
-rw-r--r-- | doc/module.rules | 21 |
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 |