/[suikacvs]/messaging/manakai/lib/Message/Util/Makefile
Suika

Diff of /messaging/manakai/lib/Message/Util/Makefile

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

revision 1.1 by wakaba, Fri Feb 18 12:14:19 2005 UTC revision 1.49 by wakaba, Fri Sep 21 08:10:04 2007 UTC
# Line 1  Line 1 
1    POD2HTML = pod2html --css "http://suika.fam.cx/www/style/html/pod.css" \
2      --htmlroot "../.."
3    POD2HTML2 = pod2html --css "http://suika.fam.cx/www/style/html/pod.css" \
4      --htmlroot "../../.."
5    
6  MANAKAI_ROOT_DIR = ../../../  MANAKAI_ROOT_DIR = ../../../
 MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin/  
7  MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/  MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/
 MANAKAI_LIB_MANAKAI_DIR = $(MANAKAI_LIB_DIR)manakai/  
8    
9    CD = cd
10    MAKE = make
11  RM = rm  RM = rm
12  PERL = perl -I$(MANAKAI_LIB_DIR)  RMALL = $(RM) -fv
13  PERL_CHK = $(PERL) -c -w  PERL = perl
14    PERL_OPTIONS =
15  DISC_PL = $(MANAKAI_BIN_DIR)disc.pl  PERL_OPTIONS_ALL = $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR)
16  DISC = $(PERL) $(DISC_PL) \  PERL_ = $(PERL) $(PERL_OPTIONS_ALL)
17                  -I=$(MANAKAI_LIB_MANAKAI_DIR) \  PERLC = $(PERL) -c -w
18                  -I=$(MANAKAI_LIB_DIR)Message/Util/Error/ \  PERLC_OPTIONS =
19                  -I=$(MANAKAI_LIB_DIR)Message/DOM/  PERLC_OPTIONS_ALL = $(PERLC_OPTIONS) -I$(MANAKAI_LIB_DIR)
20  CDIS2PM_OPTIONS = --enable-assert  PERL_CHK = $(PERLC) $(PERLC_OPTIONS_ALL)
21                    ## TODO: Official release should remove this option.  TOUCH = touch
22  CDIS2PM_PL = ../../../bin/cdis2pm.pl  
23  CDIS2PM = $(PERL) $(CDIS2PM_PL) $(CDIS2PM_OPTIONS)  HTML_FILES = Error.html \
24      Formatter/Base.html Formatter/Boolean.html Formatter/Text.html \
25  DIS_FILES = ManakaiNode.dis    HostPermit.html QName/Filter.html
 GENERATED_FILES = mnode.cdis ManakaiNode.pm  
26    
27  NS_MANAKAIDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#  GENERATED_FILES = $(HTML_FILES)
28    
29  all: $(GENERATED_FILES)  all: $(GENERATED_FILES)
30    
31  mnode.cdis: ManakaiNode.dis $(DISC_PL)  Error.html:: %.html: %.pod
32          $(DISC) $< --output-file-name=$@          $(POD2HTML) $< > $@    
33    
34  ManakaiNode.pm: mnode.cdis $(CDIS2PM_PL)  %.html: %.pm
35          $(CDIS2PM) $< --for="$(NS_MANAKAIDOM)Perl" \          $(POD2HTML) $< > $@    
36            --module-name=ManakaiNode > $@  
37          $(PERL_CHK) $@  Formatter/%.html: %.pm
38            $(POD2HTML2) $< > $@    
39    
40  clean:  clean:
41          $(RM) $(GENERATED_FILES) .*.tmp          $(RMALL) *.tmp .*.tmp *~ .*~
42            $(RMALL) Error/*~ Error/.*~
43            $(RMALL) Formatter/*~ Formatter/.*~
44    
45    distclean: clean
46            $(RMALL) $(GENERATED_FILES)
47    
48    ## $Date$
49    ## License: Public Domain.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24