/[pub]/test/xhtmlbasicmakefile
Suika

Contents of /test/xhtmlbasicmakefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5.2.2 - (hide annotations) (download)
Wed Mar 22 15:24:02 2006 UTC (18 years, 8 months ago) by ahby
Branch: r1_1
CVS Tags: WD20060607, WD20060608, WD20060503, WD20060329
Changes since 1.5.2.1: +2 -68 lines
Made a branch for version 1.1.

1 mimasa 1.1 # Makefile for voyager
2     #
3     # generates static HTML versions from MetaHTML sources for xhtml-basic
4     #
5 ahby 1.5.2.2 # $Id: Makefile,v 1.5.2.2 2006/03/22 15:24:02 ahby Exp $
6 mimasa 1.1 #
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 ahby 1.5.2.2 TYPE = WD
15 mimasa 1.1
16     TIDY = /usr/local/bin/tidy -n -wrap 200
17    
18     SOURCE =
19    
20     OUTPUT =
21    
22 ahby 1.5.2.1 PREVIOUS = /var/www/html/htmlwg/archives/REC-xhtml-basic-20001219/index.html
23 mimasa 1.1
24 ahby 1.3 all: $(OUTPUT) index.html
25 mimasa 1.1
26     dev: all
27 ahby 1.5 /usr/local/bin/htmldiff -t $(PREVIOUS) index.html xhtml-basic-diff.html
28 ahby 1.3 /usr/local/bin/html2ps -f html2ps.conf -o xhtml-basic.ps index.html
29 mimasa 1.1 ps2pdf xhtml-basic.ps xhtml-basic.pdf
30    
31     release: $(OUTPUT)
32 ahby 1.3 -/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 mimasa 1.1 rm -f fixrefs.sed
34    
35 ahby 1.3 validate: $(OUTPUT) index.html
36     for file in $(OUTPUT) index.html; \
37 mimasa 1.1 do \
38     /usr/local/bin/nsgmls -s -wxml $$file ; \
39     done
40    
41     clobber:
42 ahby 1.3 -rm -rf $(OUTPUT) index.html xhtml-basic xhtml-basic-*.html *.pdf *.ps *.zip *.tgz
43 mimasa 1.1
44     $(OUTPUT): xmacros.mhtml
45    
46 ahby 1.3 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 mimasa 1.1 rm -f fixrefs.sed

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24