1 |
MKPLUGIN = ../../lib/SuikaWiki/Plugin/mkplugin.pl |
LIB = ../../lib/ |
2 |
|
BIN = ../../bin/ |
3 |
|
|
4 |
|
PERL = perl -I$(LIB) |
5 |
|
PERLC = $(PERL) -c |
6 |
|
|
7 |
|
MKPLUGIN_PL = $(LIB)SuikaWiki/Plugin/mkplugin.pl |
8 |
|
MKPLUGIN = $(PERL) $(MKPLUGIN_PL) |
9 |
|
MKPLUGIN2_PL = $(BIN)mkplugin2.pl |
10 |
|
MKPLUGIN2 = $(PERL) $(MKPLUGIN2_PL) |
11 |
|
|
12 |
|
%.pm: %.wps $(MKPLUGIN_PL) |
13 |
|
$(MKPLUGIN) $< > $@ |
14 |
|
$(PERLC) $@ |
15 |
|
|
16 |
|
%.pm: %.wp2 $(MKPLUGIN2_PL) |
17 |
|
$(MKPLUGIN2) $< > $@ |
18 |
|
$(PERLC) $@ |
19 |
|
|
20 |
|
|
|
%.pm: %.wps $(MKPLUGIN) |
|
|
perl $(MKPLUGIN) $< > $@ |
|
|
perl -c $@ |
|