5 |
# $Id$ |
# $Id$ |
6 |
# |
# |
7 |
# $Log$ |
# $Log$ |
8 |
# Revision 1.2 2004/11/12 21:27:51 ahby |
# Revision 1.5.2.1 2006/03/22 15:20:07 ahby |
9 |
# Added second edition data. |
# Fixed previous to point into new directory. |
10 |
|
# |
11 |
|
# Revision 1.5.2.1 2006/03/22 15:20:07 ahby |
12 |
|
# Fixed previous to point into new directory. |
13 |
|
# |
14 |
|
# Revision 1.5 2004/11/12 22:45:01 ahby |
15 |
|
# Fixed the release generation script again. |
16 |
|
# |
17 |
|
# Revision 1.4 2004/11/12 21:52:10 ahby |
18 |
|
# grrrr |
19 |
|
# |
20 |
|
# Revision 1.3 2004/11/12 21:51:19 ahby |
21 |
|
# Changed previous. |
22 |
# |
# |
23 |
# Revision 1.2 2004/11/12 21:27:51 ahby |
# Revision 1.2 2004/11/12 21:27:51 ahby |
24 |
# Added second edition data. |
# Added second edition data. |
88 |
|
|
89 |
OUTPUT = |
OUTPUT = |
90 |
|
|
91 |
PREVIOUS = /home/ahby/xhtml-basic-20001219.html |
PREVIOUS = /var/www/html/htmlwg/archives/REC-xhtml-basic-20001219/index.html |
92 |
|
|
93 |
all: $(OUTPUT) Overview.html |
all: $(OUTPUT) index.html |
94 |
|
|
95 |
dev: all |
dev: all |
96 |
/usr/local/bin/htmldiff -t $(PREVIOUS) Overview.html xhtml-print-diff.html |
/usr/local/bin/htmldiff -t $(PREVIOUS) index.html xhtml-basic-diff.html |
97 |
/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 |
98 |
ps2pdf xhtml-basic.ps xhtml-basic.pdf |
ps2pdf xhtml-basic.ps xhtml-basic.pdf |
99 |
|
|
100 |
release: $(OUTPUT) |
release: $(OUTPUT) |
101 |
-/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 |
102 |
rm -f fixrefs.sed |
rm -f fixrefs.sed |
103 |
|
|
104 |
validate: $(OUTPUT) Overview.html |
validate: $(OUTPUT) index.html |
105 |
for file in $(OUTPUT) Overview.html; \ |
for file in $(OUTPUT) index.html; \ |
106 |
do \ |
do \ |
107 |
/usr/local/bin/nsgmls -s -wxml $$file ; \ |
/usr/local/bin/nsgmls -s -wxml $$file ; \ |
108 |
done |
done |
109 |
|
|
110 |
clobber: |
clobber: |
111 |
-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 |
112 |
|
|
113 |
$(OUTPUT): xmacros.mhtml |
$(OUTPUT): xmacros.mhtml |
114 |
|
|
115 |
Overview.html: Overview.mhtml xmacros.mhtml $(SOURCE) |
index.html: Overview.mhtml xmacros.mhtml $(SOURCE) |
116 |
-/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 |
117 |
rm -f fixrefs.sed |
rm -f fixrefs.sed |