/[suikacvs]/messaging/manakai/doc/Makefile
Suika

Diff of /messaging/manakai/doc/Makefile

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

revision 1.1 by wakaba, Mon Sep 5 15:14:54 2005 UTC revision 1.10 by wakaba, Sat Sep 29 09:46:15 2007 UTC
# Line 1  Line 1 
1  MANAKAI_ROOT_DIR = ../  RM = rm
2  MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin/  RMALL = $(RM) -fr
 MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/  
3    
4  RM = rm -f  all:
   
 JAVA = java  
 JAVA_JAR = $(JAVA) -jar  
   
 XALAN_PATH = d:/Program_Files/xalan/xalan.jar  
 XALAN = $(JAVA) -cp $(XALAN_PATH) org.apache.xalan.xslt.Process  
   
 PERL = perl  
 MKDISDUMP_PL = $(MANAKAI_BIN_DIR)mkdisdump.pl  
 MKDISDUMP = $(PERL) -I$(MANAKAI_LIB_DIR) $(MKDISDUMP_PL)  
   
 DUMP_STYLESHEET_PATH = template/disdump.ja.xsl  
 DDLIST_STYLESHEET_PATH = template/ddlist.ja.xsl  
   
 MODULES_FILE_PATH_PREFIX = core-modules  
 HTML_CSS_STYLE_SHEET_URI = style/disdump-style.css  
   
 NS_MDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#ManakaiDOM.  
   
 all: doc-filelist.pl.tmp doc.xml $(DUMP_STYLESHEET_PATH)  
         $(PERL) doc-filelist.pl.tmp  
   
 doc.xml:  
         $(MKDISDUMP) $(MANAKAI_LIB_DIR)Message/DOM/core.dac \  
           --module-uri="$(NS_MDOM)DOMCore" \  
           --module-uri="$(NS_MDOM)DOMMain" \  
           --module-uri="$(NS_MDOM)DOMFeature" \  
           --with-implementators-note  
   
 doc-filelist.xml.tmp: doc.xml $(DUMP_STYLESHEET_PATH)  
         $(XALAN) -in $< -xsl $(DUMP_STYLESHEET_PATH) -out $@ -param mode list \  
           -param modules-file-path-prefix $(MODULES_FILE_PATH_PREFIX)  
   
 doc-filelist.pl.tmp: doc-filelist.xml.tmp $(DDLIST_STYLESHEET_PATH)  
         $(XALAN) -in $< -xsl $(DDLIST_STYLESHEET_PATH) -out $@ -text \  
           -param mode perl-script \  
           -param xalan-command "$(XALAN)" \  
           -param modules-file-path-prefix $(MODULES_FILE_PATH_PREFIX) \  
           -param html-style-sheet-uri $(HTML_CSS_STYLE_SHEET_URI) \  
           -param source-file-path doc.xml \  
           -param disdump-stylesheet-file-path $(DUMP_STYLESHEET_PATH)  
5    
6  clean:  clean:
         $(RM) doc-filelist.pl.tmp doc-filelist.xml.tmp  
7          $(RM) *~ .*~ *.BAK .*.BAK          $(RM) *~ .*~ *.BAK .*.BAK
8    
9  distclean: clean  distclean: clean
         $(RMR) ./Message ./http  
10    
11    ## $Date$
12  ## License: Public Domain  ## License: Public Domain

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24