# Makefile for voyager # # generates static HTML versions from MetaHTML sources for xhtml-basic # # $Id: Makefile,v 1.5.2.9 2007/07/12 14:08:06 ahby Exp $ # # .SUFFIXES: .mhtml .html .mhtml.html: -cat xmacros.mhtml $< | /usr/local/metahtml/bin/mhc --set smacs::type "$(TYPE)" | $(TIDY) > $@ TYPE = CR TIDY = /usr/local/bin/tidy -n -wrap 200 SOURCE = OUTPUT = 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 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