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

Contents of /messaging/manakai/doc/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Fri Sep 30 13:06:13 2005 UTC (19 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.7: +15 -2 lines
++ manakai/bin/ChangeLog	30 Sep 2005 12:38:36 -0000
2005-09-30  Wakaba  <wakaba@suika.fam.cx>

	* mkdisdump.pl (append_module_group_documentation,
	append_document_documentation): New functions.
	(append_class_documentation, append_interface_documentation):
	Generates method/attribute/constgroup information (in partial mode)
	even if "is_partial" option is true to compute inheriting
	class member information correctly.
	(--resource-uri): New option.

	* Makefile (error.xml, minimpl.xml): New rules.

++ manakai/lib/Message/Util/ChangeLog	30 Sep 2005 12:50:16 -0000
2005-09-30  Wakaba  <wakaba@suika.fam.cx>

	* DIS.dis (readProperties): Saves property name to values.
	(getPropertyModuleList): New method.


	* ManakaiNode.dis: Use "disPerl:H" instead
	of "disPerl:Q" for hash keys.
	(NodeStem): Property value "mn:treeID"
	has changed to scalar reference.
++ manakai/lib/Message/Util/Error/ChangeLog	30 Sep 2005 12:49:59 -0000
2005-09-30  Wakaba  <wakaba@suika.fam.cx>
	* DOMException.dis (dx:ManakaiErrorModules): New documentation.
++ manakai/lib/Message/Util/DIS/ChangeLog	30 Sep 2005 12:48:08 -0000
2005-09-30  Wakaba  <wakaba@suika.fam.cx>

	* Value.dis (name): New attribute.

	* Perl.dis (plFullyQualifiedName): Use module's package
	name properties if available.

++ manakai/lib/Message/DOM/ChangeLog	30 Sep 2005 12:40:49 -0000
2005-09-30  Wakaba  <wakaba@suika.fam.cx>

	* DOMCore.dis, SimpleLS.dis: Shares namespace URIs and local
	names where possible.

	* DOMFeature.dis: Documentation for DOM Minimum Implementation
	added (still work in progress).

	* Makefile (feature.dae, feature-spec.dae): New rules.

++ manakai/lib/manakai/ChangeLog	30 Sep 2005 12:53:24 -0000
2005-09-30  Wakaba  <wakaba@suika.fam.cx>

	* DISCore.dis: Documentation-related and meta-informational
	resoruces are moved to new "Document.dis" module.  The
	module now references "Document.dis".
	(DISCore:module, DISCore:resource): New properties.

	* DISRDF.dis: Some resources added from FOAF vocabulary.

	* Document.dis: New module.

	* DISIDL.dis: Some IDL comcepts added.  New name
	given to IDL datatypes.

	* DISLang.dis (dis:prefix): Removed.  (Moved to "DISIDL.dis"
	and it is now obsolete.)

2005-09-29  Wakaba  <wakaba@suika.fam.cx>

	* DISPerl.dis (DISPerl:HashStringRef, DISPerl:StringRef): New.

1 MANAKAI_ROOT_DIR = ../
2 MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin/
3 MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/
4
5 DIS_SUFFIX = .dis
6 DAC_SUFFIX = .dae
7 DAEM_SUFFIX = .daem
8
9 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 PERL_OPTIONS =
18 PERL = perl
19 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 MKDISDUMP_PL = $(MANAKAI_BIN_DIR)mkdisdump.pl
28 MKDISDUMP_OPTIONS = --with-implementators-note
29 MKDISDUMP = $(PERL_) $(MKDISDUMP_PL) $(MKDISDUMP_OPTIONS) $(DIS_OPTIONS_ALL)
30
31 DUMP_STYLESHEET_PATH = template/disdump.ja.xsl
32 DDLIST_STYLESHEET_PATH = template/ddlist.ja.xsl
33
34 MODULES_FILE_PATH_PREFIX = NAME-modules
35 HTML_CSS_STYLE_SHEET_URI = style/disdump-style.css
36
37 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_DX = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/Error/DOMException\#
40 NS_ERROR = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/Error/
41 NS_MARKUP = http://suika.fam.cx/~wakaba/archive/2005/manakai/Markup\#
42 NS_MANAKAIDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#
43 NS_MDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#ManakaiDOM.
44 NS_UTIL = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/
45
46 ALL_HTML = dom.html util.html
47
48 DOM_DAC_FILE = $(MANAKAI_LIB_DIR)Message/DOM/core$(DAC_SUFFIX)
49 MINIMPL_DAC_FILE = $(MANAKAI_LIB_DIR)Message/DOM/feature-spec$(DAC_SUFFIX)
50 UTIL_DAC_FILE = $(MANAKAI_LIB_DIR)Message/Util/core$(DAC_SUFFIX)
51 DIS_DAC_FILE = $(MANAKAI_LIB_DIR)Message/Util/disdoc$(DAC_SUFFIX)
52
53 all: $(ALL_HTML)
54
55 $(ALL_HTML): %.html: %-list.pl.tmp $(DUMP_STYLESHEET_PATH)
56 $(PERL) $<
57
58 $(ALL_HTML:.html=-list.pl.tmp): %.pl.tmp: %.xml.tmp $(DDLIST_STYLESHEET_PATH)
59 $(XALAN) -in $< -xsl $(DDLIST_STYLESHEET_PATH) -out $@ -text \
60 -param mode perl-script \
61 -param xalan-command "$(XALAN)" \
62 -param modules-file-path-prefix \
63 $(MODULES_FILE_PATH_PREFIX:NAME-%=$(<:-list.xml.tmp=)-%) \
64 -param html-style-sheet-uri $(HTML_CSS_STYLE_SHEET_URI) \
65 -param source-file-path $(<:-list.xml.tmp=.xml) \
66 -param disdump-stylesheet-file-path $(DUMP_STYLESHEET_PATH)
67
68 $(ALL_HTML:.html=-list.xml.tmp): %-list.xml.tmp: %.xml $(DUMP_STYLESHEET_PATH)
69 $(XALAN) -in $< -xsl $(DUMP_STYLESHEET_PATH) -out $@ -param mode list \
70 -param modules-file-path-prefix \
71 $(MODULES_FILE_PATH_PREFIX:NAME-%=$(<:.xml=)-%)
72
73 dom.xml: $(DOM_DAC_FILE)
74 $(MKDISDUMP) $< \
75 --module-uri="$(NS_MDOM)DOMFeature" \
76 --module-uri="$(NS_MDOM)DOMMain" \
77 --module-uri="$(NS_MDOM)DOMCore" \
78 --module-uri="$(NS_MDOM)DOMXML" \
79 --module-uri="$(NS_MDOM)DOMLS" \
80 --module-uri="$(NS_MDOM)GenericLS" \
81 --with-implementators-note > $@
82
83 util.xml: $(UTIL_DAC_FILE)
84 $(MKDISDUMP) $< \
85 --module-uri="$(NS_DISLIB)DISCore" \
86 --module-uri="$(NS_DISLIB)DISRDF" \
87 --module-uri="$(NS_DISLIB)DISIDL" \
88 --module-uri="$(NS_DISLIB)DISLang" \
89 --module-uri="$(NS_DISLIB)DISPerl" \
90 --module-uri="$(NS_DISLIB)DISMarkup" \
91 --module-uri="$(NS_DISLIB)XML" \
92 --module-uri="$(NS_DISLIB)NaturalLanguage" \
93 --module-uri="$(NS_UTIL)ManakaiNode" \
94 --module-uri="$(NS_ERROR)Core" \
95 --module-uri="$(NS_ERROR)DOMException" \
96 --with-implementators-note > $@
97
98 error.xml: $(UTIL_DAC_FILE)
99 $(MKDISDUMP) $< \
100 --resource-uri="$(NS_DX)ManakaiErrorModules" \
101 > $@
102
103 minimpl.xml: $(MINIMPL_DAC_FILE)
104 $(MKDISDUMP) $< \
105 --resource-uri="http://suika.fam.cx/~wakaba/archive/2004/dom/feature#spec.Document $(NS_MANAKAIDOM)ForSpecLatest" \
106 > $@
107
108 dis.xml: $(DIS_DAC_FILE)
109 $(MKDISDUMP) $< \
110 --module-uri="$(NS_MARKUP)SuikaWikiConfig21" \
111 --module-uri="$(NS_UTIL)PerlCode" \
112 --module-uri="$(NS_UTIL)DIS" \
113 --module-uri="$(NS_DIS)Perl" \
114 --module-uri="$(NS_DIS)Value" \
115 --module-uri="$(NS_DIS)DNLite" \
116 --module-uri="$(NS_DIS)DISDoc" \
117 --module-uri="$(NS_DIS)DISDump" \
118 --with-implementators-note > $@
119
120 clean:
121 $(RM) $(ALL_HTML:.html=-list.pl.tmp) $(ALL_HTML:.html=-list.xml.tmp) \
122 $(ALL_HTML:.html=.xml)
123 $(RM) *~ .*~ *.BAK .*.BAK
124
125 distclean: clean
126 $(RMR) ./Message ./http
127
128 ## $Date: 2005/09/25 14:53:02 $
129 ## License: Public Domain

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24