# Makefile for voyager # # generates static HTML versions from MetaHTML sources for xhtml-basic # # $Id: xhtmlbasicmakefile,v 1.5.2.2 2006/03/22 15:24:02 ahby Exp $ # # .SUFFIXES: .mhtml .html .mhtml.html: -cat xmacros.mhtml $< | /usr/local/metahtml/bin/mhc --set smacs::type "$(TYPE)" | $(TIDY) > $@ TYPE = WD 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