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

Contents of /suikawiki/script/misc/plugins/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Fri Apr 30 06:01:46 2004 UTC (20 years, 6 months ago) by wakaba
Branch: MAIN
CVS Tags: suikawiki3-redirect, release-3-0-0, HEAD
Branch point for: helowiki, helowiki-2005
Changes since 1.4: +23 -0 lines
2004-04-30  Wakaba  <w@suika.fam.cx>

* Makefile: Sync to latest version of lib/SuikaWiki/Plugin/Makefile.

1 wakaba 1.2 LIB = ../../lib/
2     BIN = ../../bin/
3    
4     PERL = perl -I$(LIB)
5 wakaba 1.3 PERLC = $(PERL) -c -w
6 wakaba 1.2
7 wakaba 1.5 CD = cd
8     LS = ls
9     MAKE = make
10     RM = rm -fv
11     SED = sed
12     XARGS = xargs
13    
14 wakaba 1.2 MKPLUGIN2_PL = $(BIN)mkplugin2.pl
15     MKPLUGIN2 = $(PERL) $(MKPLUGIN2_PL)
16    
17 wakaba 1.5 all:
18     $(LS) *.wp2 | $(SED) s/\.wp2/.pm/ | $(XARGS) $(MAKE)
19     $(CD) form && $(MAKE) all
20     $(CD) format && $(MAKE) all
21     $(CD) link && $(MAKE) all
22     $(CD) view && $(MAKE) all
23    
24 wakaba 1.2 %.pm: %.wp2 $(MKPLUGIN2_PL)
25     $(MKPLUGIN2) $< > $@
26     $(PERLC) $@
27    
28 wakaba 1.5 clean:
29     $(RM) *.pm
30     $(RM) *~ *.BAK .*~ .*.BAK
31     $(CD) form && $(MAKE) clean
32     $(CD) format && $(MAKE) clean
33     $(CD) link && $(MAKE) clean
34     $(CD) view && $(MAKE) clean
35    
36     distclean: clean
37 wakaba 1.1

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24