/[suikacvs]/messaging/manakai/doc/Makefile
Suika

Contents of /messaging/manakai/doc/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Sep 5 15:14:54 2005 UTC (19 years, 2 months ago) by wakaba
Branch: MAIN
Rule for doc.xml added

1 MANAKAI_ROOT_DIR = ../
2 MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin/
3 MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/
4
5 RM = rm -f
6
7 JAVA = java
8 JAVA_JAR = $(JAVA) -jar
9
10 XALAN_PATH = d:/Program_Files/xalan/xalan.jar
11 XALAN = $(JAVA) -cp $(XALAN_PATH) org.apache.xalan.xslt.Process
12
13 PERL = perl
14 MKDISDUMP_PL = $(MANAKAI_BIN_DIR)mkdisdump.pl
15 MKDISDUMP = $(PERL) -I$(MANAKAI_LIB_DIR) $(MKDISDUMP_PL)
16
17 DUMP_STYLESHEET_PATH = template/disdump.ja.xsl
18 DDLIST_STYLESHEET_PATH = template/ddlist.ja.xsl
19
20 MODULES_FILE_PATH_PREFIX = core-modules
21 HTML_CSS_STYLE_SHEET_URI = style/disdump-style.css
22
23 NS_MDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#ManakaiDOM.
24
25 all: doc-filelist.pl.tmp doc.xml $(DUMP_STYLESHEET_PATH)
26 $(PERL) doc-filelist.pl.tmp
27
28 doc.xml:
29 $(MKDISDUMP) $(MANAKAI_LIB_DIR)Message/DOM/core.dac \
30 --module-uri="$(NS_MDOM)DOMCore" \
31 --module-uri="$(NS_MDOM)DOMMain" \
32 --module-uri="$(NS_MDOM)DOMFeature" \
33 --with-implementators-note
34
35 doc-filelist.xml.tmp: doc.xml $(DUMP_STYLESHEET_PATH)
36 $(XALAN) -in $< -xsl $(DUMP_STYLESHEET_PATH) -out $@ -param mode list \
37 -param modules-file-path-prefix $(MODULES_FILE_PATH_PREFIX)
38
39 doc-filelist.pl.tmp: doc-filelist.xml.tmp $(DDLIST_STYLESHEET_PATH)
40 $(XALAN) -in $< -xsl $(DDLIST_STYLESHEET_PATH) -out $@ -text \
41 -param mode perl-script \
42 -param xalan-command "$(XALAN)" \
43 -param modules-file-path-prefix $(MODULES_FILE_PATH_PREFIX) \
44 -param html-style-sheet-uri $(HTML_CSS_STYLE_SHEET_URI) \
45 -param source-file-path doc.xml \
46 -param disdump-stylesheet-file-path $(DUMP_STYLESHEET_PATH)
47
48 clean:
49 $(RM) doc-filelist.pl.tmp doc-filelist.xml.tmp
50 $(RM) *~ .*~ *.BAK .*.BAK
51
52 distclean: clean
53 $(RMR) ./Message ./http
54
55 ## License: Public Domain

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24