# Makefile for voyager # # generates static HTML versions from MetaHTML sources for xhtml-basic # # $Id: xhtmlbasicmakefile,v 1.5.2.1 2006/03/22 15:20:07 ahby Exp $ # # $Log: xhtmlbasicmakefile,v $ # Revision 1.5.2.1 2006/03/22 15:20:07 ahby # Fixed previous to point into new directory. # # Revision 1.5.2.1 2006/03/22 15:20:07 ahby # Fixed previous to point into new directory. # # 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. # # # .SUFFIXES: .mhtml .html .mhtml.html: -cat xmacros.mhtml $< | /usr/local/metahtml/bin/mhc --set smacs::type "$(TYPE)" | $(TIDY) > $@ TYPE = PER TIDY = /usr/local/bin/tidy -n -wrap 200 SOURCE = OUTPUT = PREVIOUS = /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/html2ps -f html2ps.conf -o xhtml-basic.ps index.html ps2pdf xhtml-basic.ps xhtml-basic.pdf release: $(OUTPUT) -/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 rm -f fixrefs.sed validate: $(OUTPUT) index.html for file in $(OUTPUT) index.html; \ do \ /usr/local/bin/nsgmls -s -wxml $$file ; \ done clobber: -rm -rf $(OUTPUT) index.html xhtml-basic xhtml-basic-*.html *.pdf *.ps *.zip *.tgz $(OUTPUT): xmacros.mhtml 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