/[pub]/test/xhtmlbasicmakefile
Suika

Contents of /test/xhtmlbasicmakefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Nov 12 22:45:01 2004 UTC (20 years ago) by ahby
Branch: MAIN
CVS Tags: PER20050425, PER20050926, HEAD
Branch point for: r1_1
Changes since 1.4: +5 -2 lines
Error occurred while calculating annotation data.
Fixed the release generation script again.

1 # Makefile for voyager
2 #
3 # generates static HTML versions from MetaHTML sources for xhtml-basic
4 #
5 # $Id: Makefile,v 1.5 2004/11/12 22:45:01 ahby Exp $
6 #
7 # $Log: Makefile,v $
8 # Revision 1.5 2004/11/12 22:45:01 ahby
9 # Fixed the release generation script again.
10 #
11 # Revision 1.4 2004/11/12 21:52:10 ahby
12 # grrrr
13 #
14 # Revision 1.3 2004/11/12 21:51:19 ahby
15 # Changed previous.
16 #
17 # Revision 1.2 2004/11/12 21:27:51 ahby
18 # Added second edition data.
19 #
20 # Revision 1.1 2004/02/04 10:35:03 mimasa
21 # Added files for production.
22 #
23 # Revision 1.3 2003/07/17 00:50:23 ahby
24 # Updated the Makefile.
25 #
26 # Revision 1.2 2003/07/17 00:46:15 ahby
27 # Updated the dev target and the previous version pointer.
28 #
29 # Revision 1.1 2003/07/16 18:57:05 ahby
30 # Initial versions under source control.
31 #
32 # Revision 1.11 2003/05/01 22:10:03 ahby
33 # Changed default document type to PR.
34 #
35 # Revision 1.10 2003/02/06 16:22:05 ahby
36 # Fixed the document type references and style sheet references to be
37 # dynamic again.
38 #
39 # Revision 1.9 2002/06/14 16:05:03 spemberton
40 # Editorial cleanup
41 #
42 # Revision 1.8 2001/07/25 20:17:31 ahby
43 # Removed references to xhtml-events in preparation for changing module name to
44 # xhtml-print.
45 #
46 # Revision 1.7 2001/06/07 15:27:39 ahby
47 # Fixed a broken link
48 #
49 # Revision 1.6 2001/06/05 15:39:23 ahby
50 # Fixed the makefile - reference to html2ps was wrong.
51 #
52 # Revision 1.5 2001/06/05 15:34:49 ahby
53 # Added the dev target for makes
54 #
55 # Revision 1.4 2001/06/05 15:30:36 ahby
56 # added a mode to create a diff file and postscript/pdf
57 #
58 # Revision 1.3 2001/05/31 20:47:18 ahby
59 # Fixed the makefile harder.
60 #
61 # Revision 1.2 2001/05/31 20:45:36 ahby
62 # Updated makefile so that it could find the metahtml processor.
63 #
64 # Revision 1.1 2001/05/31 20:35:46 ahby
65 # Converted over to using metahtml and macros.
66 # Cleaned up headers/titles.
67 # Started conversion to abstract module/DTD/Schema style.
68 #
69 #
70 #
71
72 .SUFFIXES: .mhtml .html
73
74 .mhtml.html:
75 -cat xmacros.mhtml $< | /usr/local/metahtml/bin/mhc --set smacs::type "$(TYPE)" | $(TIDY) > $@
76
77 TYPE = PER
78
79 TIDY = /usr/local/bin/tidy -n -wrap 200
80
81 SOURCE =
82
83 OUTPUT =
84
85 PREVIOUS = /home/httpd/html/htmlwg/archives/REC-xhtml-basic-20001219/index.html
86
87 all: $(OUTPUT) index.html
88
89 dev: all
90 /usr/local/bin/htmldiff -t $(PREVIOUS) index.html xhtml-basic-diff.html
91 /usr/local/bin/html2ps -f html2ps.conf -o xhtml-basic.ps index.html
92 ps2pdf xhtml-basic.ps xhtml-basic.pdf
93
94 release: $(OUTPUT)
95 -/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
96 rm -f fixrefs.sed
97
98 validate: $(OUTPUT) index.html
99 for file in $(OUTPUT) index.html; \
100 do \
101 /usr/local/bin/nsgmls -s -wxml $$file ; \
102 done
103
104 clobber:
105 -rm -rf $(OUTPUT) index.html xhtml-basic xhtml-basic-*.html *.pdf *.ps *.zip *.tgz
106
107 $(OUTPUT): xmacros.mhtml
108
109 index.html: Overview.mhtml xmacros.mhtml $(SOURCE)
110 -/usr/local/metahtml/bin/mhc --set smacs::hide-sections no --set smacs::type "$(TYPE)" Overview.mhtml | $(TIDY) > index.html
111 rm -f fixrefs.sed

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24