/[suikacvs]/test/xhtmlbasicmakefile
Suika

Contents of /test/xhtmlbasicmakefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Feb 4 10:35:03 2004 UTC (20 years, 3 months ago) by mimasa
Branch: MAIN
Added files for production.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24