Parent Directory | Revision Log
2004-04-30 Wakaba <w@suika.fam.cx> * Makefile: Sync to latest version of lib/SuikaWiki/Plugin/Makefile.
1 | wakaba | 1.1 | LIB = ../../../lib/ |
2 | BIN = ../../../bin/ | ||
3 | |||
4 | PERL = perl -I$(LIB) | ||
5 | PERLC = $(PERL) -c -w | ||
6 | |||
7 | wakaba | 1.2 | LS = ls |
8 | MAKE = make | ||
9 | RM = rm -fv | ||
10 | SED = sed | ||
11 | XARGS = xargs | ||
12 | |||
13 | wakaba | 1.1 | MKPLUGIN2_PL = $(BIN)mkplugin2.pl |
14 | MKPLUGIN2 = $(PERL) $(MKPLUGIN2_PL) | ||
15 | |||
16 | wakaba | 1.2 | all: |
17 | $(LS) *.wp2 | $(SED) s/\.wp2/.pm/ | $(XARGS) $(MAKE) | ||
18 | wakaba | 1.1 | |
19 | %.pm: %.wp2 $(MKPLUGIN2_PL) | ||
20 | $(MKPLUGIN2) $< > $@ | ||
21 | $(PERLC) $@ | ||
22 | |||
23 | wakaba | 1.2 | clean: |
24 | $(RM) *.pm | ||
25 | $(RM) *~ *.BAK .*~ .*.BAK | ||
26 | |||
27 | distclean: clean | ||
28 | wakaba | 1.1 |
admin@suikawiki.org | ViewVC Help |
Powered by ViewVC 1.1.24 |