# Makefile for voyager # # generates static HTML versions from MetaHTML sources for xhtml-basic # # $Id: xhtmlbasicmakefile,v 1.5.2.4 2006/06/28 17:03:01 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 = xhtml-basic11-f.dtd 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 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