5 |
# $Id$ |
# $Id$ |
6 |
# |
# |
7 |
# $Log$ |
# $Log$ |
8 |
# Revision 1.1 2004/02/04 10:35:03 mimasa |
# Revision 1.5 2004/11/12 22:45:01 ahby |
9 |
# Added files for production. |
# Fixed the release generation script again. |
10 |
|
# |
11 |
|
# Revision 1.5 2004/11/12 22:45:01 ahby |
12 |
|
# Fixed the release generation script again. |
13 |
|
# |
14 |
|
# Revision 1.4 2004/11/12 21:52:10 ahby |
15 |
|
# grrrr |
16 |
|
# |
17 |
|
# Revision 1.3 2004/11/12 21:51:19 ahby |
18 |
|
# Changed previous. |
19 |
|
# |
20 |
|
# Revision 1.2 2004/11/12 21:27:51 ahby |
21 |
|
# Added second edition data. |
22 |
# |
# |
23 |
# Revision 1.1 2004/02/04 10:35:03 mimasa |
# Revision 1.1 2004/02/04 10:35:03 mimasa |
24 |
# Added files for production. |
# Added files for production. |
77 |
.mhtml.html: |
.mhtml.html: |
78 |
-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) > $@ |
79 |
|
|
80 |
TYPE = WD |
TYPE = PER |
81 |
|
|
82 |
TIDY = /usr/local/bin/tidy -n -wrap 200 |
TIDY = /usr/local/bin/tidy -n -wrap 200 |
83 |
|
|
85 |
|
|
86 |
OUTPUT = |
OUTPUT = |
87 |
|
|
88 |
PREVIOUS = /home/ahby/xhtml-basic-20001219.html |
PREVIOUS = /home/httpd/html/htmlwg/archives/REC-xhtml-basic-20001219/index.html |
89 |
|
|
90 |
all: $(OUTPUT) Overview.html |
all: $(OUTPUT) index.html |
91 |
|
|
92 |
dev: all |
dev: all |
93 |
/usr/local/bin/htmldiff -o $(PREVIOUS) Overview.html xhtml-print-diff.html |
/usr/local/bin/htmldiff -t $(PREVIOUS) index.html xhtml-basic-diff.html |
94 |
/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 |
95 |
ps2pdf xhtml-basic.ps xhtml-basic.pdf |
ps2pdf xhtml-basic.ps xhtml-basic.pdf |
96 |
|
|
97 |
release: $(OUTPUT) |
release: $(OUTPUT) |
98 |
-/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 |
99 |
rm -f fixrefs.sed |
rm -f fixrefs.sed |
100 |
|
|
101 |
validate: $(OUTPUT) Overview.html |
validate: $(OUTPUT) index.html |
102 |
for file in $(OUTPUT) Overview.html; \ |
for file in $(OUTPUT) index.html; \ |
103 |
do \ |
do \ |
104 |
/usr/local/bin/nsgmls -s -wxml $$file ; \ |
/usr/local/bin/nsgmls -s -wxml $$file ; \ |
105 |
done |
done |
106 |
|
|
107 |
clobber: |
clobber: |
108 |
-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 |
109 |
|
|
110 |
$(OUTPUT): xmacros.mhtml |
$(OUTPUT): xmacros.mhtml |
111 |
|
|
112 |
Overview.html: Overview.mhtml xmacros.mhtml $(SOURCE) |
index.html: Overview.mhtml xmacros.mhtml $(SOURCE) |
113 |
-/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 |
114 |
rm -f fixrefs.sed |
rm -f fixrefs.sed |