/[pub]/test/xhtmlbasicmakefile
Suika

Diff of /test/xhtmlbasicmakefile

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

revision 1.3 by ahby, Fri Nov 12 21:51:19 2004 UTC revision 1.5.2.6 by ahby, Thu Oct 12 14:48:16 2006 UTC
# Line 4  Line 4 
4  #  #
5  # $Id$  # $Id$
6  #  #
 # $Log$  
 # Revision 1.3  2004/11/12 21:51:19  ahby  
 # Changed previous.  
 #  
 # Revision 1.3  2004/11/12 21:51:19  ahby  
 # Changed previous.  
 #  
 # Revision 1.2  2004/11/12 21:27:51  ahby  
 # Added second edition data.  
 #  
 # 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 71  Line 11 
11  .mhtml.html:  .mhtml.html:
12          -cat xmacros.mhtml $< | /usr/local/metahtml/bin/mhc --set smacs::type "$(TYPE)" | $(TIDY) > $@          -cat xmacros.mhtml $< | /usr/local/metahtml/bin/mhc --set smacs::type "$(TYPE)" | $(TIDY) > $@
13    
14  TYPE = PER  TYPE = ED
15    
16  TIDY = /usr/local/bin/tidy -n -wrap 200  TIDY = /usr/local/bin/tidy -n -wrap 200
17    
18  SOURCE =  SOURCE =
19    
20  OUTPUT =  OUTPUT = xhtml-basic11-f.dtd
21    
22  PREVIOUS = /home/httpd/html/htmlwg/archive/REC-xhtml-basic-20001219/index.html  PREVIOUS = /var/www/html/htmlwg/WD-xhtml-basic-20060913/index.html
23    PREVIOUSREC = /var/www/html/htmlwg/archives/REC-xhtml-basic-20001219/index.html
24    
25  all: $(OUTPUT) index.html  all: $(OUTPUT) index.html
26    
27  dev: all  dev: all
28          /usr/local/bin/htmldiff -t $(PREVIOUS) index.html xhtml-print-diff.html          /usr/local/bin/htmldiff -t $(PREVIOUS) index.html xhtml-basic-diff.html
29            /usr/local/bin/htmldiff -t $(PREVIOUSREC) index.html xhtml-basic-rec-diff.html
30          /usr/local/bin/html2ps -f html2ps.conf -o xhtml-basic.ps index.html          /usr/local/bin/html2ps -f html2ps.conf -o xhtml-basic.ps index.html
31          ps2pdf xhtml-basic.ps xhtml-basic.pdf          ps2pdf xhtml-basic.ps xhtml-basic.pdf
32    
# Line 106  $(OUTPUT): xmacros.mhtml Line 48  $(OUTPUT): xmacros.mhtml
48  index.html: Overview.mhtml xmacros.mhtml $(SOURCE)  index.html: Overview.mhtml xmacros.mhtml $(SOURCE)
49          -/usr/local/metahtml/bin/mhc --set smacs::hide-sections no --set smacs::type "$(TYPE)" Overview.mhtml | $(TIDY) > index.html          -/usr/local/metahtml/bin/mhc --set smacs::hide-sections no --set smacs::type "$(TYPE)" Overview.mhtml | $(TIDY) > index.html
50          rm -f fixrefs.sed          rm -f fixrefs.sed
51    
52    xhtml-basic11-f.dtd: xhtml-basic11.dtd xhtml-basic11-model-1.mod
53            echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "xhtml-basic11.dtd"> <html><head><title>title</title></head><body><p>text</p></body></html>' | spam -p -p - | sed -e 's/^<!DOCTYPE html \[//' -e '/^]>$$/,$$d' > xhtml-basic11-f.dtd

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.5.2.6

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24