/[pub]/suikawiki/script/default/Makefile
Suika

Contents of /suikawiki/script/default/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Fri Apr 30 06:04:17 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.2: +3 -1 lines
Use FindBin and File::Spec for portability.

1 wakaba 1.1 LIB = ../lib/
2     BIN = ../bin/
3    
4     PERL = perl -I$(LIB)
5     PERLC = $(PERL) -c
6    
7 wakaba 1.2 MKDIR = mkdir
8     RM = rm -fv
9     RMDIR = rm -frv
10    
11 wakaba 1.1 MKPLUGIN2_PL = $(BIN)mkplugin2.pl
12     MKPLUGIN2 = $(PERL) $(MKPLUGIN2_PL)
13    
14 wakaba 1.3 all: config.ph log lock cache
15 wakaba 1.2
16 wakaba 1.1 config.ph: config.wp2 $(MKPLUGIN2_PL)
17     $(MKPLUGIN2) $< > $@
18     $(PERLC) $@
19 wakaba 1.2
20     log:
21     $(MKDIR) log
22     lock:
23     $(MKDIR) lock
24 wakaba 1.3 cache:
25     $(MKDIR) cache
26 wakaba 1.2
27     clean:
28     $(RM) config.ph
29     $(RM) *~ *.BAK .*~ .*.BAK
30    
31     distclean: clean
32     $(RMDIR) log lock

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24