/[suikacvs]/test/xhtmlbasicmakefile
Suika

Contents of /test/xhtmlbasicmakefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5.2.5 - (show annotations) (download)
Thu Oct 12 14:43:40 2006 UTC (18 years, 1 month ago) by ahby
Branch: r1_1
Changes since 1.5.2.4: +2 -2 lines
Changed default type to editors 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.5 2006/10/12 15:43:40 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/archives/REC-xhtml-basic-20001219/index.html
23
24 all: $(OUTPUT) index.html
25
26 dev: all
27 /usr/local/bin/htmldiff -t $(PREVIOUS) index.html xhtml-basic-diff.html
28 /usr/local/bin/html2ps -f html2ps.conf -o xhtml-basic.ps index.html
29 ps2pdf xhtml-basic.ps xhtml-basic.pdf
30
31 release: $(OUTPUT)
32 -/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
33 rm -f fixrefs.sed
34
35 validate: $(OUTPUT) index.html
36 for file in $(OUTPUT) index.html; \
37 do \
38 /usr/local/bin/nsgmls -s -wxml $$file ; \
39 done
40
41 clobber:
42 -rm -rf $(OUTPUT) index.html xhtml-basic xhtml-basic-*.html *.pdf *.ps *.zip *.tgz
43
44 $(OUTPUT): xmacros.mhtml
45
46 index.html: Overview.mhtml xmacros.mhtml $(SOURCE)
47 -/usr/local/metahtml/bin/mhc --set smacs::hide-sections no --set smacs::type "$(TYPE)" Overview.mhtml | $(TIDY) > index.html
48 rm -f fixrefs.sed
49
50 xhtml-basic11-f.dtd: xhtml-basic11.dtd xhtml-basic11-model-1.mod
51 echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "xhtml-basic11.dtd"> <html><head><title>title</title></head><body><p>text</p></body></html>' | spam -p -p - | sed -e 's/^<!DOCTYPE html \[//' -e '/^]>$$/,$$d' > xhtml-basic11-f.dtd

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24