1 |
HARUSAME_DIR = ../../../harusame/ |
2 |
HARUSAME_BIN_DIR = $(HARUSAME_DIR)bin/ |
3 |
|
4 |
MANAKAI_DIR = ../../ |
5 |
MANAKAI_LIB_DIR = $(MANAKAI_DIR)lib/ |
6 |
|
7 |
WHATPM_DIR = ../../../markup/html/whatpm/ |
8 |
WHATPM_LIB_DIR = $(WHATPM_DIR) |
9 |
|
10 |
HARUSAME = $(HARUSAME_BIN_DIR)harusame.pl |
11 |
|
12 |
PERL_ = perl |
13 |
PERL_LIB_OPTIONS = -I$(MANAKAI_LIB_DIR) -I$(WHATPM_LIB_DIR) |
14 |
PERL = $(PERL_) $(PERL_LIB_OPTIONS) |
15 |
|
16 |
all: cover.ja.html cover.en.html features.en.html features.ja.html |
17 |
|
18 |
%.en.html: %.html.src |
19 |
$(PERL) $(HARUSAME) --lang=en < $< > $@ |
20 |
|
21 |
%.ja.html: %.html.src |
22 |
$(PERL) $(HARUSAME) --lang=ja < $< > $@ |