/[suikacvs]/messaging/manakai/lib/Message/Markup/Makefile
Suika

Contents of /messaging/manakai/lib/Message/Markup/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.19 - (hide annotations) (download)
Sun Sep 10 11:19:24 2006 UTC (18 years, 2 months ago) by wakaba
Branch: MAIN
CVS Tags: manakai-200612
Changes since 1.18: +3 -2 lines
++ manakai/bin/ChangeLog	10 Sep 2006 11:09:00 -0000
2006-09-10  Wakaba  <wakaba@suika.fam.cx>

	* daf.pl (--dtd-suffix, --create-dtd-driver): New options
	for DTD driver support.

++ manakai/lib/Message/Markup/ChangeLog	10 Sep 2006 11:12:09 -0000
2006-09-10  Wakaba  <wakaba@suika.fam.cx>

	* Atom.dis (Atom): The |mv:systemIdentifierBaseURI|
	property is set.  It is an empty value to allow to move
	DTD modules without modification.
	(Atom10): New DTD driver for ordinary Atom 1.0 documents.
	(AtomNameElement, AtomUriElement, AtomEmailElement): References
	for |Atom| module are added for |%ATOM.xmlns.attrib;|
	references in the |ATTLIST| declarations.
	(AtomContentElement): Content attribute definitions
	for |type| and |src| attributes are added.

	* Makefile (atom): Generate |Atom10| DTD driver.

++ manakai/lib/Message/Markup/XML/ChangeLog	10 Sep 2006 11:13:04 -0000
2006-09-10  Wakaba  <wakaba@suika.fam.cx>

	* Parser.pm: Comment out Unicode comparibility character
	checking clause since |\p{Compat}| regexp set is not
	supported in the current version of perl.

++ manakai/lib/manakai/ChangeLog	10 Sep 2006 11:19:19 -0000
2006-09-10  Wakaba  <wakaba@suika.fam.cx>

	* DISMarkup.dis (mv:systemIdentifierBaseURI): New property.
	(mv:XMLDTDAnyModule, mv:XMLDTDDriver): New resource types.

	* daf-dtd-modules.pl (daf_dtd_modules): Its main part
	is split into another function named |daf_dm_create_module_file|.
	(daf_dtd_driver): New function for DTD driver support.
	(daf_dm_create_module_file): New function.
	(daf_dm_dtd_driver_content): New function.
	(daf_dm_qname_module_content): What declarations
	are generated is changed so that generated DTD modules
	are more resemble to HTML WG's ones.
	(daf_dm_register_all_components): New function.
	(daf_dm_get_module_group): New function.
	(daf_dm_get_entity_name): Support for DTD drivers is added.  Use
	uppercase'ized name for DTD module sets (to align with
	HTML WG's DTD modules).

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.9 DIS_SUFFIX = .dis
6 wakaba 1.11 DAEM_SUFFIX = .dafm
7     DAFX_SUFFIX = .dafx
8 wakaba 1.7 PM_SUFFIX = .pm
9    
10 wakaba 1.3 CD = cd
11     MAKE = make
12 wakaba 1.1 RM = rm
13 wakaba 1.12 RMALL = $(RM) -fv
14 wakaba 1.3 PERL = perl
15 wakaba 1.10 PERL_OPTIONS =
16     PERL_OPTIONS_ALL = $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR)
17     PERL_ = $(PERL) $(PERL_OPTIONS_ALL)
18 wakaba 1.3 PERLC = $(PERL) -c -w
19 wakaba 1.10 PERLC_OPTIONS =
20     PERLC_OPTIONS_ALL = $(PERLC_OPTIONS) -I$(MANAKAI_LIB_DIR)
21     PERL_CHK = $(PERLC) $(PERLC_OPTIONS_ALL)
22 wakaba 1.3
23 wakaba 1.18 NS_ATOM = http://suika.fam.cx/~wakaba/archive/2005/manakai/Markup/Atom/
24     NS_MANAKAIDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#
25 wakaba 1.3 NS_MARKUP = http://suika.fam.cx/~wakaba/archive/2005/manakai/Markup\#
26    
27 wakaba 1.9 DIS_OPTIONS =
28     DIS_OPTIONS_ALL = $(DIS_OPTIONS) \
29     --search-path-catalog-file-name="$(MANAKAI_LIB_DIR)manakai/dis-catalog" \
30     --dis-file-suffix="$(DIS_SUFFIX)" \
31 wakaba 1.11 --daem-file-suffix="$(DAEM_SUFFIX)" \
32     --dafx-file-suffix="$(DAFX_SUFFIX)"
33 wakaba 1.9
34 wakaba 1.11 DAF_OPTIONS =
35     DAF_PL = $(MANAKAI_BIN_DIR)daf.pl
36     DAF = $(PERL_) $(DAF_PL) $(DAF_OPTIONS) $(DIS_OPTIONS_ALL)
37 wakaba 1.1
38 wakaba 1.15 DIS_FILES = \
39     SuikaWikiConfig21$(DIS_SUFFIX) \
40 wakaba 1.16 Atom$(DIS_SUFFIX) \
41 wakaba 1.17 SuikaWiki$(DIS_SUFFIX) \
42     H2H$(DIS_SUFFIX)
43 wakaba 1.15 ADDITIONAL_DIS_FILES = common$(DIS_SUFFIX)
44 wakaba 1.1
45 wakaba 1.15 PM_FILES = $(DIS_FILES:$(DIS_SUFFIX)=$(PM_SUFFIX))
46 wakaba 1.1
47 wakaba 1.11 GENERATED_FILES = $(PM_FILES)
48 wakaba 1.1
49     all: $(GENERATED_FILES)
50    
51 wakaba 1.11 $(PM_FILES): %$(PM_SUFFIX): %$(DIS_SUFFIX) $(DAF_PL)
52     $(DAF) --create-perl-module="$(NS_MARKUP)$* $@"
53 wakaba 1.1 $(PERL_CHK) $@
54    
55 wakaba 1.18 ## temporary
56     atom: $(DAF_PL)
57     $(DAF) \
58     --load-module="$(NS_MARKUP)Atom" \
59 wakaba 1.19 --create-dtd-modules="$(NS_ATOM)Atom . $(NS_MANAKAIDOM)ManakaiDOMLatest" \
60     --create-dtd-driver="$(NS_ATOM)Atom10 . $(NS_MANAKAIDOM)ManakaiDOMLatest"
61 wakaba 1.18
62 wakaba 1.1 clean:
63 wakaba 1.12 $(RMALL) $(GENERATED_FILES) .*.tmp *~ .*~
64 wakaba 1.11
65 wakaba 1.14 clean-db:
66 wakaba 1.12 $(RMALL) *$(DAEM_SUFFIX) *$(DAFX_SUFFIX)
67    
68 wakaba 1.13 distclean: clean clean-db
69    
70 wakaba 1.19 ## $Date: 2006/05/19 11:02:11 $
71 wakaba 1.11 ## License: Public Domain.

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24