1 |
POD2HTML = pod2html --css "http://suika.fam.cx/www/style/html/pod.css" \ |
POD2HTML = pod2html --css "http://suika.fam.cx/www/style/html/pod.css" \ |
2 |
|
--htmlroot "../.." |
3 |
|
POD2HTML2 = pod2html --css "http://suika.fam.cx/www/style/html/pod.css" \ |
4 |
--htmlroot "../../.." |
--htmlroot "../../.." |
5 |
|
|
6 |
MANAKAI_ROOT_DIR = ../../../ |
MANAKAI_ROOT_DIR = ../../../ |
|
MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin/ |
|
7 |
MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/ |
MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/ |
|
MANAKAI_LIB_MANAKAI_DIR = $(MANAKAI_LIB_DIR)manakai/ |
|
|
|
|
|
DIS_SUFFIX = .dis |
|
|
DAEM_SUFFIX = .dafm |
|
|
DAFX_SUFFIX = .dafx |
|
|
PM_SUFFIX = .pm |
|
8 |
|
|
9 |
CD = cd |
CD = cd |
10 |
MAKE = make |
MAKE = make |
20 |
PERL_CHK = $(PERLC) $(PERLC_OPTIONS_ALL) |
PERL_CHK = $(PERLC) $(PERLC_OPTIONS_ALL) |
21 |
TOUCH = touch |
TOUCH = touch |
22 |
|
|
23 |
NS_MANAKAIDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\# |
HTML_FILES = Error.html \ |
|
NS_MDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#ManakaiDOM. |
|
|
NS_MARKUP = http://suika.fam.cx/~wakaba/archive/2005/manakai/Markup\# |
|
|
NS_DIS = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/DIS\# |
|
|
NS_UTIL = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/ |
|
|
NS_UTIL_ERR = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/Error/ |
|
|
NS_UTIL_DIS = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/DIS\# |
|
|
NS_UTIL_MUF = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/Formatter/ |
|
|
|
|
|
DIS_OPTIONS = |
|
|
DIS_OPTIONS_ALL = $(DIS_OPTIONS) \ |
|
|
--search-path-catalog-file-name="$(MANAKAI_LIB_DIR)manakai/dis-catalog" \ |
|
|
--dis-file-suffix="$(DIS_SUFFIX)" \ |
|
|
--daem-file-suffix="$(DAEM_SUFFIX)" \ |
|
|
--dafx-file-suffix="$(DAFX_SUFFIX)" |
|
|
|
|
|
DAF_OPTIONS = |
|
|
DAF_PL = $(MANAKAI_BIN_DIR)daf.pl |
|
|
DAF = $(PERL_) $(DAF_PL) $(DAF_OPTIONS) $(DIS_OPTIONS_ALL) |
|
|
|
|
|
UTIL_CORE_DIS_FILES = ManakaiNode.dis Error/DOMException.dis Error/Core.dis \ |
|
|
Formatter/Muf2003$(DIS_SUFFIX) |
|
|
UTIL_TEST_DIS_FILES = ManakaiNodeTest$(DIS_SUFFIX) |
|
|
DIS_CORE_DIS_FILES_ = DIS$(DIS_SUFFIX) |
|
|
DIS_CORE_DIS_FILES_DIS = DIS/Perl.dis DIS/Value.dis DIS/DNLite.dis \ |
|
|
DIS/DPG$(DIS_SUFFIX) |
|
|
DIS_CORE_DIS_FILES = $(DIS_CORE_DIS_FILES_) $(DIS_CORE_DIS_FILES_DIS) |
|
|
DIS_DOC_DIS_FILES = DIS/DISDoc.dis |
|
|
DIS_DUMP_DIS_FILES = DIS/DISDump.dis |
|
|
DIS_TEST_DIS_FILES = DIS/Test$(DIS_SUFFIX) |
|
|
PC_DIS_FILES = PerlCode$(DIS_SUFFIX) |
|
|
UTIL_DIS_COMMON_DIS_FILE = DIS/common$(DIS_SUFFIX) |
|
|
DIS_FILES = $(UTIL_CORE_DIS_FILES) $(UTIL_TEST_DIS_FILES) \ |
|
|
$(DIS_CORE_DIS_FILES) \ |
|
|
$(DIS_DOC_DIS_FILES) $(DIS_DUMP_DIS_FILES) $(DIS_TEST_DIS_FILES) \ |
|
|
$(PC_DIS_FILES) $(UTIL_DIS_COMMON_DIS_FILE) |
|
|
|
|
|
NS_UTIL_PM_FILES = \ |
|
|
ManakaiNode$(PM_SUFFIX) ManakaiNodeTest$(PM_SUFFIX) \ |
|
|
PerlCode$(PM_SUFFIX) \ |
|
|
DIS$(PM_SUFFIX) |
|
|
NS_UTIL_ERR_PM_FILES = \ |
|
|
Error/DOMException$(PM_SUFFIX) |
|
|
NS_UTIL_DIS_PM_FILES = \ |
|
|
DIS/DNLite$(PM_SUFFIX) DIS/Value$(PM_SUFFIX) \ |
|
|
DIS/DPG$(PM_SUFFIX) \ |
|
|
DIS/Perl$(PM_SUFFIX) DIS/DISDoc$(PM_SUFFIX) DIS/DISDump$(PM_SUFFIX) \ |
|
|
DIS/Test$(PM_SUFFIX) |
|
|
|
|
|
GENERATED_FILES = \ |
|
|
$(NS_UTIL_PM_FILES) $(NS_UTIL_ERR_PM_FILES) $(NS_UTIL_DIS_PM_FILES) |
|
|
|
|
|
all: all-document PerlCode$(PM_SUFFIX) .discore$(PM_SUFFIX) $(GENERATED_FILES) |
|
|
|
|
|
all-document: Error.html \ |
|
24 |
Formatter/Base.html Formatter/Boolean.html Formatter/Text.html \ |
Formatter/Base.html Formatter/Boolean.html Formatter/Text.html \ |
25 |
HostPermit.html QName/Filter.html |
HostPermit.html QName/Filter.html |
26 |
|
|
27 |
|
GENERATED_FILES = $(HTML_FILES) |
28 |
|
|
29 |
|
all: $(GENERATED_FILES) |
30 |
|
|
31 |
Error.html:: %.html: %.pod |
Error.html:: %.html: %.pod |
32 |
$(POD2HTML) $< > $@ |
$(POD2HTML) $< > $@ |
33 |
|
|
34 |
%.html: %.pm |
%.html: %.pm |
35 |
$(POD2HTML) $< > $@ |
$(POD2HTML) $< > $@ |
36 |
|
|
37 |
$(NS_UTIL_PM_FILES): %$(PM_SUFFIX): %$(DIS_SUFFIX) $(DAF_PL) |
Formatter/%.html: %.pm |
38 |
$(DAF) --create-perl-module="$(NS_UTIL)$* $@" |
$(POD2HTML2) $< > $@ |
|
$(PERL_CHK) $@ |
|
|
|
|
|
$(NS_UTIL_ERR_PM_FILES): %$(PM_SUFFIX): %$(DIS_SUFFIX) $(DAF_PL) |
|
|
$(DAF) --create-perl-module="$(NS_UTIL_ERR)$(*:Error/%=%) $@" |
|
|
$(PERL_CHK) $@ |
|
|
|
|
|
$(NS_UTIL_DIS_PM_FILES): %$(PM_SUFFIX): %$(DIS_SUFFIX) $(DAF_PL) |
|
|
$(DAF) --create-perl-module="$(NS_UTIL_DIS)$(*:DIS/%=%) $@" |
|
|
$(PERL_CHK) $@ |
|
|
|
|
|
.discore$(PM_SUFFIX): $(DIS_CORE_DIS_FILES) $(DAF_PL) |
|
|
$(DAF) \ |
|
|
--create-perl-module="$(NS_UTIL)DIS DIS$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_UTIL_DIS)Value DIS/Value$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_UTIL_DIS)Perl DIS/Perl$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_UTIL_DIS)DPG DIS/DPG$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_UTIL_DIS)DNLite DIS/DNLite$(PM_SUFFIX)" |
|
|
$(PERL_CHK) DIS$(PM_SUFFIX) |
|
|
$(PERL_CHK) DIS/Value$(PM_SUFFIX) |
|
|
$(PERL_CHK) DIS/Perl$(PM_SUFFIX) |
|
|
$(PERL_CHK) DIS/DNLite$(PM_SUFFIX) |
|
|
$(PERL_CHK) DIS/DPG$(PM_SUFFIX) |
|
|
$(TOUCH) $@ |
|
|
|
|
|
.discore-all$(PM_SUFFIX): $(DIS_CORE_DIS_FILES) $(DAF_PL) |
|
|
$(DAF) \ |
|
|
--create-perl-module="$(NS_UTIL)ManakaiNode ManakaiNode$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_UTIL_ERR)DOMException Error/DOMException$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MARKUP)SuikaWikiConfig21 ../Markup/SuikaWikiConfig21$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_UTIL)DIS DIS$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_UTIL_DIS)Value DIS/Value$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_UTIL_DIS)Perl DIS/Perl$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_UTIL_DIS)DPG DIS/DPG$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_UTIL_DIS)DNLite DIS/DNLite$(PM_SUFFIX)" |
|
|
$(PERL_CHK) ../Markup/SuikaWikiConfig21$(PM_SUFFIX) |
|
|
$(PERL_CHK) DIS$(PM_SUFFIX) |
|
|
$(PERL_CHK) DIS/Value$(PM_SUFFIX) |
|
|
$(PERL_CHK) DIS/Perl$(PM_SUFFIX) |
|
|
$(PERL_CHK) DIS/DPG$(PM_SUFFIX) |
|
|
$(PERL_CHK) DIS/DNLite$(PM_SUFFIX) |
|
|
$(TOUCH) .discore$(PM_SUFFIX) |
|
|
$(DAF) \ |
|
|
--create-perl-module="$(NS_UTIL)PerlCode PerlCode$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MDOM)DOMFeature ../DOM/DOMFeature$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MDOM)GenericLS ../DOM/GenericLS$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MDOM)DOMMain ../DOM/DOMMain$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MDOM)DOMString ../DOM/DOMString$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MDOM)DOMCore ../DOM/DOMCore$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MDOM)TreeCore ../DOM/TreeCore$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MDOM)Document ../DOM/Document$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MDOM)Element ../DOM/Element$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MDOM)CharacterData ../DOM/CharacterData$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MDOM)XML ../DOM/XML$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MDOM)XDoctype ../DOM/XDoctype$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MDOM)TreeStore ../DOM/TreeStore$(PM_SUFFIX)" |
|
|
$(PERL_CHK) PerlCode$(PM_SUFFIX) |
|
|
$(PERL_CHK) ../DOM/DOMFeature$(PM_SUFFIX) |
|
|
$(PERL_CHK) ../DOM/GenericLS$(PM_SUFFIX) |
|
|
$(PERL_CHK) ../DOM/DOMMain$(PM_SUFFIX) |
|
|
$(PERL_CHK) ../DOM/DOMString$(PM_SUFFIX) |
|
|
$(PERL_CHK) ../DOM/DOMCore$(PM_SUFFIX) |
|
|
$(PERL_CHK) ../DOM/TreeCore$(PM_SUFFIX) |
|
|
$(PERL_CHK) ../DOM/Document$(PM_SUFFIX) |
|
|
$(PERL_CHK) ../DOM/Element$(PM_SUFFIX) |
|
|
$(PERL_CHK) ../DOM/CharacterData$(PM_SUFFIX) |
|
|
$(PERL_CHK) ../DOM/XML$(PM_SUFFIX) |
|
|
$(PERL_CHK) ../DOM/XDoctype$(PM_SUFFIX) |
|
|
$(PERL_CHK) ../DOM/TreeStore$(PM_SUFFIX) |
|
|
$(TOUCH) $@ |
|
|
$(TOUCH) ../DOM/.core$(PM_SUFFIX) |
|
39 |
|
|
40 |
clean: |
clean: |
41 |
$(RMALL) $(GENERATED_FILES) |
$(RMALL) $(GENERATED_FILES) |
42 |
$(RMALL) *.tmp .*.tmp *~ .*~ .discore$(PM_SUFFIX) .discore-all$(PM_SUFFIX) |
$(RMALL) *.tmp .*.tmp *~ .*~ |
43 |
$(RMALL) Error/*~ Error/.*~ |
$(RMALL) Error/*~ Error/.*~ |
44 |
$(RMALL) Formatter/*~ Formatter/.*~ |
$(RMALL) Formatter/*~ Formatter/.*~ |
|
$(RMALL) DIS/*~ DIS/.*~ |
|
|
|
|
|
clean-db: |
|
|
$(RMALL) *$(DAEM_SUFFIX) *$(DAFX_SUFFIX) |
|
|
$(RMALL) Error/*$(DAEM_SUFFIX) Error/*$(DAFX_SUFFIX) |
|
|
$(RMALL) Formatter/*$(DAEM_SUFFIX) Formatter/*$(DAFX_SUFFIX) |
|
|
$(RMALL) DIS/*$(DAEM_SUFFIX) DIS/*$(DAFX_SUFFIX) |
|
45 |
|
|
46 |
distclean: clean clean-db |
distclean: clean |
47 |
|
|
48 |
## $Date$ |
## $Date$ |
49 |
## License: Public Domain. |
## License: Public Domain. |