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

Contents of /messaging/manakai/doc/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (hide annotations) (download)
Sun Sep 25 14:53:02 2005 UTC (19 years, 2 months ago) by wakaba
Branch: MAIN
Changes since 1.6: +14 -4 lines
++ manakai/bin/ChangeLog	25 Sep 2005 14:45:44 -0000
2005-09-25  Wakaba  <wakaba@suika.fam.cx>

	* dac.pl, dac2pm.pl, mkdisdump.pl: Parameters "--dis-file-suffix",
	"--daem-file-suffix", "--search-path-catalog-file-name", and
	"--search-path" added.  New dae and daem database format support.
	(dac_search_file_stem): New function.

++ manakai/lib/Message/Markup/ChangeLog	25 Sep 2005 14:47:09 -0000
2005-09-25  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (DAC_SUFFIX): Changed to ".dae".
	(DAEM_SUFFIX): New.

++ manakai/lib/Message/Util/ChangeLog	25 Sep 2005 14:50:33 -0000
2005-09-25  Wakaba  <wakaba@suika.fam.cx>

	* DIS.dis (RESOURCE_NOT_DEFINED_ERR): New error code.
	(getResource): New "dae" and "daem" database format support.
	(DISResourceList): New type.
	(uriRef, ownerModuleURI, ownerModuleURIRef): New attributes.
	(addChildResource, addDynamicChildResource): New methods.
	(getChildResourceList, getDynamicChildResourceList): New method.
	(getChildResourceListByType): New method.
	(parentResource, dynamicParentResource): New attributes.

	* Makefile (DAC_SUFFIX): Changed to ".dae".
	(DAEM_SUFFIX): New.

++ manakai/lib/Message/Util/DIS/ChangeLog	25 Sep 2005 14:52:26 -0000
2005-09-25  Wakaba  <wakaba@suika.fam.cx>

	* Perl.dis (plLoadDISDatabase): New "moduleResolver" parameter
	added.
	(plStore): New "moduleResolver" parameter added.
	(plLoadDISDatabaseModule): New method.

++ manakai/lib/Message/DOM/ChangeLog	25 Sep 2005 14:47:15 -0000
2005-09-25  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (DAC_SUFFIX): Changed to ".dae".
	(DAEM_SUFFIX): New.

++ manakai/lib/manakai/ChangeLog	25 Sep 2005 14:46:50 -0000
2005-09-25  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (DAC_SUFFIX): Changed to ".dae".
	(DAEM_SUFFIX): New.

1 wakaba 1.1 MANAKAI_ROOT_DIR = ../
2     MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin/
3     MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/
4    
5 wakaba 1.7 DIS_SUFFIX = .dis
6     DAC_SUFFIX = .dae
7     DAEM_SUFFIX = .daem
8 wakaba 1.5
9 wakaba 1.1 RM = rm -f
10    
11     JAVA = java
12     JAVA_JAR = $(JAVA) -jar
13    
14     XALAN_PATH = d:/Program_Files/xalan/xalan.jar
15     XALAN = $(JAVA) -cp $(XALAN_PATH) org.apache.xalan.xslt.Process
16    
17 wakaba 1.7 PERL_OPTIONS =
18 wakaba 1.1 PERL = perl
19 wakaba 1.7 PERL_ = $(PERL) $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR)
20    
21     DIS_OPTIONS =
22     DIS_OPTIONS_ALL = $(DIS_OPTIONS) \
23     --search-path-catalog-file-name="$(MANAKAI_LIB_DIR)manakai/dis-catalog" \
24     --dis-file-suffix="$(DIS_SUFFIX)" \
25     --daem-file-suffix="$(DAEM_SUFFIX)"
26    
27 wakaba 1.1 MKDISDUMP_PL = $(MANAKAI_BIN_DIR)mkdisdump.pl
28 wakaba 1.6 MKDISDUMP_OPTIONS =
29 wakaba 1.7 MKDISDUMP = $(PERL_) $(MKDISDUMP_PL) $(MKDISDUMP_OPTIONS) $(DIS_OPTIONS_ALL)
30 wakaba 1.1
31     DUMP_STYLESHEET_PATH = template/disdump.ja.xsl
32     DDLIST_STYLESHEET_PATH = template/ddlist.ja.xsl
33    
34 wakaba 1.3 MODULES_FILE_PATH_PREFIX = NAME-modules
35 wakaba 1.1 HTML_CSS_STYLE_SHEET_URI = style/disdump-style.css
36    
37 wakaba 1.3 NS_DIS = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/DIS\#
38     NS_DISLIB = http://suika.fam.cx/~wakaba/archive/2004/dis/
39     NS_ERROR = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/Error/
40     NS_MARKUP = http://suika.fam.cx/~wakaba/archive/2005/manakai/Markup\#
41 wakaba 1.1 NS_MDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#ManakaiDOM.
42 wakaba 1.3 NS_UTIL = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/
43 wakaba 1.1
44 wakaba 1.3 ALL_HTML = dom.html util.html
45 wakaba 1.1
46 wakaba 1.5 DOM_DAC_FILE = $(MANAKAI_LIB_DIR)Message/DOM/core$(DAC_SUFFIX)
47 wakaba 1.6 UTIL_DAC_FILE = $(MANAKAI_LIB_DIR)Message/Util/core$(DAC_SUFFIX)
48     DIS_DAC_FILE = $(MANAKAI_LIB_DIR)Message/Util/disdoc$(DAC_SUFFIX)
49 wakaba 1.3
50     all: $(ALL_HTML)
51 wakaba 1.1
52 wakaba 1.3 $(ALL_HTML): %.html: %-list.pl.tmp $(DUMP_STYLESHEET_PATH)
53     $(PERL) $<
54 wakaba 1.1
55 wakaba 1.3 $(ALL_HTML:.html=-list.pl.tmp): %.pl.tmp: %.xml.tmp $(DDLIST_STYLESHEET_PATH)
56 wakaba 1.1 $(XALAN) -in $< -xsl $(DDLIST_STYLESHEET_PATH) -out $@ -text \
57     -param mode perl-script \
58     -param xalan-command "$(XALAN)" \
59 wakaba 1.3 -param modules-file-path-prefix \
60     $(MODULES_FILE_PATH_PREFIX:NAME-%=$(<:-list.xml.tmp=)-%) \
61 wakaba 1.1 -param html-style-sheet-uri $(HTML_CSS_STYLE_SHEET_URI) \
62 wakaba 1.3 -param source-file-path $(<:-list.xml.tmp=.xml) \
63 wakaba 1.1 -param disdump-stylesheet-file-path $(DUMP_STYLESHEET_PATH)
64    
65 wakaba 1.3 $(ALL_HTML:.html=-list.xml.tmp): %-list.xml.tmp: %.xml $(DUMP_STYLESHEET_PATH)
66     $(XALAN) -in $< -xsl $(DUMP_STYLESHEET_PATH) -out $@ -param mode list \
67     -param modules-file-path-prefix \
68     $(MODULES_FILE_PATH_PREFIX:NAME-%=$(<:.xml=)-%)
69    
70     dom.xml: $(DOM_DAC_FILE)
71     $(MKDISDUMP) $< \
72     --module-uri="$(NS_MDOM)DOMFeature" \
73     --module-uri="$(NS_MDOM)DOMMain" \
74     --module-uri="$(NS_MDOM)DOMCore" \
75     --module-uri="$(NS_MDOM)DOMXML" \
76 wakaba 1.4 --module-uri="$(NS_MDOM)DOMLS" \
77 wakaba 1.6 --module-uri="$(NS_MDOM)GenericLS" \
78 wakaba 1.3 --with-implementators-note > $@
79    
80     util.xml: $(UTIL_DAC_FILE)
81     $(MKDISDUMP) $< \
82     --module-uri="$(NS_DISLIB)DISCore" \
83     --module-uri="$(NS_DISLIB)DISRDF" \
84     --module-uri="$(NS_DISLIB)DISIDL" \
85     --module-uri="$(NS_DISLIB)DISLang" \
86     --module-uri="$(NS_DISLIB)DISPerl" \
87 wakaba 1.6 --module-uri="$(NS_DISLIB)DISMarkup" \
88     --module-uri="$(NS_DISLIB)XML" \
89     --module-uri="$(NS_DISLIB)NaturalLanguage" \
90 wakaba 1.3 --module-uri="$(NS_UTIL)ManakaiNode" \
91     --module-uri="$(NS_ERROR)Core" \
92     --module-uri="$(NS_ERROR)DOMException" \
93 wakaba 1.6 --with-implementators-note > $@
94    
95     dis.xml: $(DIS_DAC_FILE)
96     $(MKDISDUMP) $< \
97 wakaba 1.3 --module-uri="$(NS_MARKUP)SuikaWikiConfig21" \
98 wakaba 1.4 --module-uri="$(NS_UTIL)PerlCode" \
99 wakaba 1.3 --module-uri="$(NS_UTIL)DIS" \
100 wakaba 1.4 --module-uri="$(NS_DIS)Perl" \
101     --module-uri="$(NS_DIS)Value" \
102 wakaba 1.6 --module-uri="$(NS_DIS)DNLite" \
103     --module-uri="$(NS_DIS)DISDoc" \
104     --module-uri="$(NS_DIS)DISDump" \
105 wakaba 1.3 --with-implementators-note > $@
106    
107 wakaba 1.1 clean:
108 wakaba 1.3 $(RM) $(ALL_HTML:.html=-list.pl.tmp) $(ALL_HTML:.html=-list.xml.tmp) \
109     $(ALL_HTML:.html=.xml)
110 wakaba 1.1 $(RM) *~ .*~ *.BAK .*.BAK
111    
112     distclean: clean
113     $(RMR) ./Message ./http
114    
115 wakaba 1.7 ## $Date: 2005/09/23 18:24:52 $
116 wakaba 1.1 ## License: Public Domain

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24