/[pub]/suikawiki/script/misc/plugins/link/Makefile
Suika

Diff of /suikawiki/script/misc/plugins/link/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by wakaba, Sun Feb 1 12:09:44 2004 UTC revision 1.2 by wakaba, Fri Apr 30 06:01:46 2004 UTC
# Line 4  BIN = ../../../bin/ Line 4  BIN = ../../../bin/
4  PERL = perl -I$(LIB)  PERL = perl -I$(LIB)
5  PERLC = $(PERL) -c -w  PERLC = $(PERL) -c -w
6    
7  MKPLUGIN_PL = $(LIB)SuikaWiki/Plugin/mkplugin.pl  LS = ls
8  MKPLUGIN = $(PERL) $(MKPLUGIN_PL)  MAKE = make
9    RM = rm -fv
10    SED = sed
11    XARGS = xargs
12    
13  MKPLUGIN2_PL = $(BIN)mkplugin2.pl  MKPLUGIN2_PL = $(BIN)mkplugin2.pl
14  MKPLUGIN2 = $(PERL) $(MKPLUGIN2_PL)  MKPLUGIN2 = $(PERL) $(MKPLUGIN2_PL)
15    
16  %.pm: %.wps $(MKPLUGIN_PL)  all:
17          $(MKPLUGIN) $< > $@          $(LS) *.wp2 | $(SED) s/\.wp2/.pm/ | $(XARGS) $(MAKE)
         $(PERLC) $@  
18    
19  %.pm: %.wp2 $(MKPLUGIN2_PL)  %.pm: %.wp2 $(MKPLUGIN2_PL)
20          $(MKPLUGIN2) $< > $@          $(MKPLUGIN2) $< > $@
21          $(PERLC) $@          $(PERLC) $@
22    
23    clean:
24            $(RM) *.pm
25            $(RM) *~ *.BAK .*~ .*.BAK
26    
27    distclean: clean
28    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24