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