--- test/xhtmlbasicmakefile 2004/11/12 22:45:01 1.5 +++ test/xhtmlbasicmakefile 2007/07/12 13:08:06 1.5.2.9 @@ -2,70 +2,7 @@ # # generates static HTML versions from MetaHTML sources for xhtml-basic # -# $Id: Makefile,v 1.5 2004/11/12 22:45:01 ahby Exp $ -# -# $Log: Makefile,v $ -# Revision 1.5 2004/11/12 22:45:01 ahby -# Fixed the release generation script again. -# -# Revision 1.4 2004/11/12 21:52:10 ahby -# grrrr -# -# 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. -# +# $Id: Makefile,v 1.5.2.9 2007/07/12 14:08:06 ahby Exp $ # # @@ -74,20 +11,22 @@ .mhtml.html: -cat xmacros.mhtml $< | /usr/local/metahtml/bin/mhc --set smacs::type "$(TYPE)" | $(TIDY) > $@ -TYPE = PER +TYPE = CR TIDY = /usr/local/bin/tidy -n -wrap 200 SOURCE = -OUTPUT = +OUTPUT = -PREVIOUS = /home/httpd/html/htmlwg/archives/REC-xhtml-basic-20001219/index.html +PREVIOUS = /var/www/html/htmlwg/ED-xhtml-basic-20060913/index.html +PREVIOUSREC = /var/www/html/htmlwg/archives/REC-xhtml-basic-20001219/index.html all: $(OUTPUT) index.html dev: all /usr/local/bin/htmldiff -t $(PREVIOUS) index.html xhtml-basic-diff.html + /usr/local/bin/htmldiff -t $(PREVIOUSREC) index.html xhtml-basic-rec-diff.html /usr/local/bin/html2ps -f html2ps.conf -o xhtml-basic.ps index.html ps2pdf xhtml-basic.ps xhtml-basic.pdf @@ -109,3 +48,6 @@ index.html: Overview.mhtml xmacros.mhtml $(SOURCE) -/usr/local/metahtml/bin/mhc --set smacs::hide-sections no --set smacs::type "$(TYPE)" Overview.mhtml | $(TIDY) > index.html rm -f fixrefs.sed + +xhtml-basic11-f.dtd: xhtml-basic11.dtd xhtml-basic11-model-1.mod + echo ' title

text

' | spam -p -p - | sed -e 's/^$$/,$$d' > xhtml-basic11-f.dtd