5 |
# $Id$ |
# $Id$ |
6 |
# |
# |
7 |
# $Log$ |
# $Log$ |
8 |
# Revision 1.1 2004/02/04 10:35:03 mimasa |
# Revision 1.4 2004/11/12 21:52:10 ahby |
9 |
# Added files for production. |
# grrrr |
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 |
# Revision 1.1 2004/02/04 10:35:03 mimasa |
21 |
# Added files for production. |
# Added files for production. |
74 |
.mhtml.html: |
.mhtml.html: |
75 |
-cat xmacros.mhtml $< | /usr/local/metahtml/bin/mhc --set smacs::type "$(TYPE)" | $(TIDY) > $@ |
-cat xmacros.mhtml $< | /usr/local/metahtml/bin/mhc --set smacs::type "$(TYPE)" | $(TIDY) > $@ |
76 |
|
|
77 |
TYPE = WD |
TYPE = PER |
78 |
|
|
79 |
TIDY = /usr/local/bin/tidy -n -wrap 200 |
TIDY = /usr/local/bin/tidy -n -wrap 200 |
80 |
|
|
82 |
|
|
83 |
OUTPUT = |
OUTPUT = |
84 |
|
|
85 |
PREVIOUS = /home/ahby/xhtml-basic-20001219.html |
PREVIOUS = /home/httpd/html/htmlwg/archives/REC-xhtml-basic-20001219/index.html |
86 |
|
|
87 |
all: $(OUTPUT) Overview.html |
all: $(OUTPUT) index.html |
88 |
|
|
89 |
dev: all |
dev: all |
90 |
/usr/local/bin/htmldiff -o $(PREVIOUS) Overview.html xhtml-print-diff.html |
/usr/local/bin/htmldiff -t $(PREVIOUS) index.html xhtml-print-diff.html |
91 |
/usr/local/bin/html2ps -f html2ps.conf -o xhtml-basic.ps Overview.html |
/usr/local/bin/html2ps -f html2ps.conf -o xhtml-basic.ps index.html |
92 |
ps2pdf xhtml-basic.ps xhtml-basic.pdf |
ps2pdf xhtml-basic.ps xhtml-basic.pdf |
93 |
|
|
94 |
release: $(OUTPUT) |
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) > Overview.html |
-/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 |
rm -f fixrefs.sed |
97 |
|
|
98 |
validate: $(OUTPUT) Overview.html |
validate: $(OUTPUT) index.html |
99 |
for file in $(OUTPUT) Overview.html; \ |
for file in $(OUTPUT) index.html; \ |
100 |
do \ |
do \ |
101 |
/usr/local/bin/nsgmls -s -wxml $$file ; \ |
/usr/local/bin/nsgmls -s -wxml $$file ; \ |
102 |
done |
done |
103 |
|
|
104 |
clobber: |
clobber: |
105 |
-rm -rf $(OUTPUT) Overview.html xhtml-basic xhtml-basic-*.html *.pdf *.ps *.zip *.tgz |
-rm -rf $(OUTPUT) index.html xhtml-basic xhtml-basic-*.html *.pdf *.ps *.zip *.tgz |
106 |
|
|
107 |
$(OUTPUT): xmacros.mhtml |
$(OUTPUT): xmacros.mhtml |
108 |
|
|
109 |
Overview.html: Overview.mhtml xmacros.mhtml $(SOURCE) |
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) > Overview.html |
-/usr/local/metahtml/bin/mhc --set smacs::hide-sections no --set smacs::type "$(TYPE)" Overview.mhtml | $(TIDY) > index.html |
111 |
rm -f fixrefs.sed |
rm -f fixrefs.sed |