--- test/xhtmlbasicmakefile 2004/02/04 10:35:03 1.1 +++ test/xhtmlbasicmakefile 2004/11/12 21:51:19 1.3 @@ -2,9 +2,15 @@ # # generates static HTML versions from MetaHTML sources for xhtml-basic # -# $Id: Makefile,v 1.1 2004/02/04 10:35:03 mimasa Exp $ +# $Id: Makefile,v 1.3 2004/11/12 21:51:19 ahby Exp $ # # $Log: Makefile,v $ +# 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. # @@ -62,7 +68,7 @@ .mhtml.html: -cat xmacros.mhtml $< | /usr/local/metahtml/bin/mhc --set smacs::type "$(TYPE)" | $(TIDY) > $@ -TYPE = WD +TYPE = PER TIDY = /usr/local/bin/tidy -n -wrap 200 @@ -70,30 +76,30 @@ OUTPUT = -PREVIOUS = /home/ahby/xhtml-basic-20001219.html +PREVIOUS = /home/httpd/html/htmlwg/archive/REC-xhtml-basic-20001219/index.html -all: $(OUTPUT) Overview.html +all: $(OUTPUT) index.html dev: all - /usr/local/bin/htmldiff -o $(PREVIOUS) Overview.html xhtml-print-diff.html - /usr/local/bin/html2ps -f html2ps.conf -o xhtml-basic.ps Overview.html + /usr/local/bin/htmldiff -t $(PREVIOUS) index.html xhtml-print-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) > Overview.html + -/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) Overview.html - for file in $(OUTPUT) Overview.html; \ +validate: $(OUTPUT) index.html + for file in $(OUTPUT) index.html; \ do \ /usr/local/bin/nsgmls -s -wxml $$file ; \ done clobber: - -rm -rf $(OUTPUT) Overview.html xhtml-basic xhtml-basic-*.html *.pdf *.ps *.zip *.tgz + -rm -rf $(OUTPUT) index.html xhtml-basic xhtml-basic-*.html *.pdf *.ps *.zip *.tgz $(OUTPUT): xmacros.mhtml -Overview.html: Overview.mhtml xmacros.mhtml $(SOURCE) - -/usr/local/metahtml/bin/mhc --set smacs::hide-sections no --set smacs::type "$(TYPE)" Overview.mhtml | $(TIDY) > Overview.html +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