/[suikacvs]/test/xhtmlbasicmakefile
Suika

Diff of /test/xhtmlbasicmakefile

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

revision 1.1 by mimasa, Wed Feb 4 10:35:03 2004 UTC revision 1.5.2.2 by ahby, Wed Mar 22 15:24:02 2006 UTC
# Line 4  Line 4 
4  #  #
5  # $Id$  # $Id$
6  #  #
 # $Log$  
 # Revision 1.1  2004/02/04 10:35:03  mimasa  
 # Added files for production.  
 #  
 # Revision 1.1  2004/02/04 10:35:03  mimasa  
 # Added files for production.  
 #  
 # Revision 1.3  2003/07/17 00:50:23  ahby  
 # Updated the Makefile.  
 #  
 # Revision 1.2  2003/07/17 00:46:15  ahby  
 # Updated the dev target and the previous version pointer.  
 #  
 # Revision 1.1  2003/07/16 18:57:05  ahby  
 # Initial versions under source control.  
 #  
 # Revision 1.11  2003/05/01 22:10:03  ahby  
 # Changed default document type to PR.  
 #  
 # Revision 1.10  2003/02/06 16:22:05  ahby  
 # Fixed the document type references and style sheet references to be  
 # dynamic again.  
 #  
 # Revision 1.9  2002/06/14 16:05:03  spemberton  
 # Editorial cleanup  
 #  
 # Revision 1.8  2001/07/25 20:17:31  ahby  
 # Removed references to xhtml-events in preparation for changing module name to  
 # xhtml-print.  
 #  
 # Revision 1.7  2001/06/07 15:27:39  ahby  
 # Fixed a broken link  
 #  
 # Revision 1.6  2001/06/05 15:39:23  ahby  
 # Fixed the makefile - reference to html2ps was wrong.  
 #  
 # Revision 1.5  2001/06/05 15:34:49  ahby  
 # Added the dev target for makes  
 #  
 # Revision 1.4  2001/06/05 15:30:36  ahby  
 # added a mode to create a diff file and postscript/pdf  
 #  
 # Revision 1.3  2001/05/31 20:47:18  ahby  
 # Fixed the makefile harder.  
 #  
 # Revision 1.2  2001/05/31 20:45:36  ahby  
 # Updated makefile so that it could find the metahtml processor.  
 #  
 # Revision 1.1  2001/05/31 20:35:46  ahby  
 # Converted over to using metahtml and macros.  
 # Cleaned up headers/titles.  
 # Started conversion to abstract module/DTD/Schema style.  
 #  
 #  
7  #  #
8    
9  .SUFFIXES: .mhtml .html  .SUFFIXES: .mhtml .html
# Line 73  SOURCE = Line 19  SOURCE =
19    
20  OUTPUT =  OUTPUT =
21    
22  PREVIOUS = /home/ahby/xhtml-basic-20001219.html  PREVIOUS = /var/www/html/htmlwg/archives/REC-xhtml-basic-20001219/index.html
23    
24  all: $(OUTPUT) Overview.html  all: $(OUTPUT) index.html
25    
26  dev: all  dev: all
27          /usr/local/bin/htmldiff -o $(PREVIOUS) Overview.html xhtml-print-diff.html          /usr/local/bin/htmldiff -t $(PREVIOUS) index.html xhtml-basic-diff.html
28          /usr/local/bin/html2ps -f html2ps.conf -o xhtml-basic.ps Overview.html          /usr/local/bin/html2ps -f html2ps.conf -o xhtml-basic.ps index.html
29          ps2pdf xhtml-basic.ps xhtml-basic.pdf          ps2pdf xhtml-basic.ps xhtml-basic.pdf
30    
31  release: $(OUTPUT)  release: $(OUTPUT)
32          -/usr/local/metahtml/bin/mhc --set smacs::hide-sections no --set smacs::type "$(TYPE)" --set date "$(DATE)" --set release "$(RELEASE)" Overview.mhtml | $(TIDY) > Overview.html          -/usr/local/metahtml/bin/mhc --set smacs::hide-sections no --set smacs::type "$(TYPE)" --set date "$(DATE)" --set release "$(RELEASE)" Overview.mhtml | $(TIDY) > index.html
33          rm -f fixrefs.sed          rm -f fixrefs.sed
34    
35  validate: $(OUTPUT) Overview.html  validate: $(OUTPUT) index.html
36          for file in $(OUTPUT) Overview.html; \          for file in $(OUTPUT) index.html; \
37          do \          do \
38          /usr/local/bin/nsgmls -s -wxml $$file ; \          /usr/local/bin/nsgmls -s -wxml $$file ; \
39          done          done
40    
41  clobber:  clobber:
42          -rm -rf $(OUTPUT) Overview.html xhtml-basic xhtml-basic-*.html *.pdf *.ps *.zip *.tgz          -rm -rf $(OUTPUT) index.html xhtml-basic xhtml-basic-*.html *.pdf *.ps *.zip *.tgz
43    
44  $(OUTPUT): xmacros.mhtml  $(OUTPUT): xmacros.mhtml
45    
46  Overview.html: Overview.mhtml xmacros.mhtml $(SOURCE)  index.html: Overview.mhtml xmacros.mhtml $(SOURCE)
47          -/usr/local/metahtml/bin/mhc --set smacs::hide-sections no --set smacs::type "$(TYPE)" Overview.mhtml | $(TIDY) > Overview.html          -/usr/local/metahtml/bin/mhc --set smacs::hide-sections no --set smacs::type "$(TYPE)" Overview.mhtml | $(TIDY) > index.html
48          rm -f fixrefs.sed          rm -f fixrefs.sed

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24