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

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

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

revision 1.8 by wakaba, Wed Dec 29 04:49:48 2004 UTC revision 1.48 by wakaba, Sun Jul 29 09:44:24 2007 UTC
# Line 1  Line 1 
1  LS = ls  POD2HTML = pod2html --css "http://suika.fam.cx/www/style/html/pod.css" \
2  MAKE = make    --htmlroot "../../.."
3  RM = rm  RM = rm
4  SED = sed  RMALL = $(RM) -fv
 XARGS = xargs  
5    
6  MANAKAI_ROOT_DIR = ../../../  HTML_FILES = DOMImplementation.html
 MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin/  
 MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/  
 MANAKAI_LIB_MANAKAI_DIR = $(MANAKAI_LIB_DIR)manakai/  
7    
8  PERL = perl -I$(MANAKAI_LIB_DIR)  all: $(HTML_FILES)
 PERL_CHK = $(PERL) -c -w  
9    
10  DISC_PL = $(MANAKAI_BIN_DIR)disc.pl  %.html: %.pod
11  DISC = $(PERL) $(DISC_PL) -I=$(MANAKAI_LIB_MANAKAI_DIR)          $(POD2HTML) $< > $@
 CDIS2PM_PL = ../../../bin/cdis2pm.pl  
 CDIS2PM = $(PERL) $(CDIS2PM_PL)  
 DIS2POD_PL = ../../../bin/dis2pm.pl  
 DIS2POD = $(PERL) $(DIS2POD_PL) --output-pod=only  
12    
 IDL2DIS_PL = idl2dis.pl  
 IDL2DIS = $(PERL) $(IDL2DIS_PL)  
   
 DIS_FILES = DOMMain.dis DOMCore.dis DOMXML.dis  
   
 MAIN_CDIS_FILE = mdom.cdis  
 GENERATED_FILES_DOMLATEST = DOMMain.pm DOMCore.pm  
 GENERATED_FILES = $(MAIN_CDIS_FILE) $(GENERATED_FILES_DOMLATEST)  
   
 NS_MANAKAIDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#  
   
 all: $(MAIN_CDIS_FILE) dom  
   
 dom: dom-latest  
 dom-latest: $(MAIN_CDIS_FILE) $(GENERATED_FILES_DOMLATEST) \  
         DOMMain.pm-chk DOMCore.pm-chk  
   
 $(MAIN_CDIS_FILE): $(DIS_FILES) $(DISC_PL)  
         $(DISC) DOMMain.dis --output-file-name=$@  
   
 DOMMain.pm: $(MAIN_CDIS_FILE) $(CDIS2PM_PL)  
         $(CDIS2PM) $< --for="$(NS_MANAKAIDOM)ManakaiDOMCommon" \  
           --module-name=DOMMain > $@  
         $(CDIS2PM) $< --for="$(NS_MANAKAIDOM)ManakaiDOMLatest" \  
           --module-name=DOMMain >> $@  
   
 DOMMain.pm-chk:  
         $(PERL_CHK) DOMMain.pm  
   
 DOMCore.pm: $(MAIN_CDIS_FILE) $(CDIS2PM_PL)  
         $(CDIS2PM) $< --for="$(NS_MANAKAIDOM)ManakaiDOMLatest" \  
           --module-name=DOMCore > $@  
   
 DOMCore.pm-chk:  
         $(PERL_CHK) DOMCore.pm  
           
13  clean:  clean:
14          $(RM) $(GENERATED_FILES)          $(RMALL) *.tmp .*.tmp *~ .*~ *.BAK .*.BAK
15    
16    distclean: clean
17            $(RMALL) $(HTML_FILES)
18    
19    ## $Date$
20    ## License: Public Domain.

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.48

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24