1 |
PERL = perl5.8.0 |
PERL = perl |
2 |
RM = rm -fv |
RM = rm -fv |
3 |
MODULES = Alphabet.pm Han.pm ISOIECTR10176.pm Hiragana.pm JISX0221.pm JISX4051.pm JISX4052.pm Kana.pm Katakana.pm RFC1815.pm UCS.pm |
POD2HTML = pod2html --css "http://suika.fam.cx/www/style/html/pod.css" \ |
4 |
|
--htmlroot "../.." |
5 |
|
|
6 |
|
MODULES = Alphabet.pm Han.pm ISOIECTR10176.pm Hiragana.pm JISX0221.pm JISX4051.pm JISX4052.pm Kana.pm Katakana.pm RFC1815.pm UCS.pm XML.pm \ |
7 |
|
JaInput.pm |
8 |
|
HTML_DOCUMENTS = $(MODULES:.pm=.html) |
9 |
MKPMLIB = mkpm.pl |
MKPMLIB = mkpm.pl |
10 |
|
|
11 |
all: $(MODULES) |
all: $(MODULES) $(HTML_DOCUMENTS) clean-pod |
12 |
|
|
13 |
%.pm: %-src.upl $(MKPMLIB) |
%.pm: %-src.upl $(MKPMLIB) |
14 |
$(PERL) $< > $@ |
$(PERL) $< > $@ |
15 |
$(PERL) -c $@ |
$(PERL) -c $@ |
16 |
|
|
17 |
|
%.html: %.pm |
18 |
|
$(POD2HTML) $< > $@ |
19 |
|
|
20 |
Hiragana.pm: Kana-src.upl $(MKPMLIB) |
Hiragana.pm: Kana-src.upl $(MKPMLIB) |
21 |
$(PERL) $< --hiragana > $@ |
$(PERL) $< --hiragana > $@ |
22 |
$(PERL) -c $@ |
$(PERL) -c $@ |
25 |
$(PERL) $< --katakana > $@ |
$(PERL) $< --katakana > $@ |
26 |
$(PERL) -c $@ |
$(PERL) -c $@ |
27 |
|
|
28 |
clean: |
clean: clean-pod |
29 |
$(RM) *~ .*~ *.BAK .*.BAK $(MODULES) |
$(RM) *~ .*~ *.BAK .*.BAK |
30 |
|
|
31 |
|
clean-pod: |
32 |
|
$(RM) *.tmp |
33 |
|
|
34 |
|
distclean: |
35 |
|
$(MODULES) $(HTML_DOCUMENTS) |