Parent Directory
|
Revision Log
Previous version was an editors draft, not a working draft.
| 1 | # Makefile for voyager |
| 2 | # |
| 3 | # generates static HTML versions from MetaHTML sources for xhtml-basic |
| 4 | # |
| 5 | # $Id: Makefile,v 1.5.2.7 2006/10/12 16:03:11 ahby Exp $ |
| 6 | # |
| 7 | # |
| 8 | |
| 9 | .SUFFIXES: .mhtml .html |
| 10 | |
| 11 | .mhtml.html: |
| 12 | -cat xmacros.mhtml $< | /usr/local/metahtml/bin/mhc --set smacs::type "$(TYPE)" | $(TIDY) > $@ |
| 13 | |
| 14 | TYPE = ED |
| 15 | |
| 16 | TIDY = /usr/local/bin/tidy -n -wrap 200 |
| 17 | |
| 18 | SOURCE = |
| 19 | |
| 20 | OUTPUT = xhtml-basic11-f.dtd |
| 21 | |
| 22 | PREVIOUS = /var/www/html/htmlwg/ED-xhtml-basic-20060913/index.html |
| 23 | PREVIOUSREC = /var/www/html/htmlwg/archives/REC-xhtml-basic-20001219/index.html |
| 24 | |
| 25 | all: $(OUTPUT) index.html |
| 26 | |
| 27 | dev: all |
| 28 | /usr/local/bin/htmldiff -t $(PREVIOUS) index.html xhtml-basic-diff.html |
| 29 | /usr/local/bin/htmldiff -t $(PREVIOUSREC) index.html xhtml-basic-rec-diff.html |
| 30 | /usr/local/bin/html2ps -f html2ps.conf -o xhtml-basic.ps index.html |
| 31 | ps2pdf xhtml-basic.ps xhtml-basic.pdf |
| 32 | |
| 33 | release: $(OUTPUT) |
| 34 | -/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 |
| 35 | rm -f fixrefs.sed |
| 36 | |
| 37 | validate: $(OUTPUT) index.html |
| 38 | for file in $(OUTPUT) index.html; \ |
| 39 | do \ |