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