Fix stupid typo.
[mono.git] / web / web / makefile
1 ROOT=C:/WINNT
2 CSCRIPT = $(ROOT)/system32/cscript.exe
3 CSC=csc
4
5 CORCOMPARE=../../../mcs/tools/corcompare
6
7 OBJECTS=                                                                        \
8         deploy/ado-net.html                                                     \
9         deploy/provider-factory.html                                                    \
10         deploy/mysql.html                                                       \
11         deploy/odbc.html                                                        \
12         deploy/oledb.html                                                       \
13         deploy/oracle.html                                                      \
14         deploy/postgresql.html                                                  \
15         deploy/sqlclient.html                                                   \
16         deploy/sqlite.html                                                      \
17         deploy/sybase.html                                                      \
18         deploy/tdsclient.html                                                   \
19         deploy/anoncvs.html                                                     \
20         deploy/asp-net.html                                                     \
21         deploy/books.html                                                       \
22         deploy/contributing.html                                                \
23         deploy/contact.html                                                     \
24         deploy/c-sharp.html                                                     \
25         deploy/ccvs.html                                                        \
26         deploy/documentation.html                                               \
27         deploy/download.html                                                    \
28         deploy/crypto.html                                                      \
29         deploy/embedded-api.html                                                \
30         deploy/faq.html                                                         \
31         deploy/firebird.html                                                    \
32         deploy/gcc-frontend.html                                                \
33         deploy/gtk-sharp.html                                                   \
34         deploy/hackers.html                                                     \
35         deploy/ideas.html                                                       \
36         deploy/ibmdb2.html                                                      \
37         deploy/index.html                                                       \
38         deploy/java.html                                                        \
39         deploy/jit-debug.html                                                   \
40         deploy/languages.html                                                   \
41         deploy/mailing-lists.html                                               \
42         deploy/mbas.html                                                        \
43         deploy/mono-beginning.html                                              \
44         deploy/mono-contribution-howto.html                                     \
45         deploy/monodoc-xml.html                                                 \
46         deploy/other.html                                                       \
47         deploy/papers.html                                                      \
48         deploy/passport.html                                                    \
49         deploy/plans.html                                                       \
50         deploy/porting.html                                                     \
51         deploy/ppc.html                                                         \
52         deploy/rationale.html                                                   \
53         deploy/resources.html                                                   \
54         deploy/roadmap.html                                                     \
55         deploy/runtime.html                                                     \
56         deploy/screenshots.html                                                 \
57         deploy/status.html                                                      \
58         deploy/team.html                                                        \
59         deploy/testing.html                                                     \
60         deploy/tools.html                                                       \
61         deploy/winforms.html                                                    \
62         deploy/class-status.html                                                \
63         deploy/class-status-corlib.html                                         \
64         deploy/class-status-System.html                                         \
65         deploy/class-status-System.Xml.html                                     \
66         deploy/class-status-System.Drawing.html                                 \
67         deploy/class-status-System.Data.html                                    \
68         deploy/class-status-System.Web.html                                     \
69         deploy/class-status-System.Web.Services.html                            \
70         deploy/class-status-Microsoft.VisualBasic.html                          \
71         deploy/class-status-System.EnterpriseServices.html                      \
72         deploy/class-status-System.Runtime.Serialization.Formatters.Soap.html   \
73         deploy/class-status-System.Security.html                                \
74         deploy/class-status-System.Windows.Forms.html                           \
75         deploy/class-status-Cscompmgd.html                                      \
76         deploy/class-library.html                                               \
77         deploy/classlib-doc.html
78
79 #2,Configuration.Install,class-status-System.Configuration.Install.html,class-status-System.Configuration.Install.src,cm/cormissing.css,cm/cormissing.js
80 #2,Runtime.Remoting,class-status-System.Runtime.Remoting.html,class-status-System.Runtime.Remoting.src,cm/cormissing.css,cm/cormissing.js
81
82 #       deploy/class-status-System.Configuration.Install.html   \
83 #       deploy/class-status-System.Runtime.Remoting.html        \
84
85 NON_HTML_SOURCES=               \
86         ../mono-build.sh        \
87         ../mono-build-w32.sh
88
89 all: $(OBJECTS) deploy/index.rss ../team
90         perl process.pl commands template.html.in deploy
91
92 tutorial: mono-beginning.html.stamp mono-beginning.pdf 
93         cp -a mono-beginning mono-beginning.xml mono-beginning.pdf deploy
94
95 mono-beginning.html.stamp: mono-beginning.xml
96         db2html mono-beginning.xml
97         touch mono-beginning.html.stamp
98
99 mono-beginning.pdf: mono-beginning.xml
100         db2pdf mono-beginning.xml
101
102 mono-beginning.xml: ../mono-beginning.xml
103         cp ../mono-beginning.xml .
104
105 deploy/index.rss: mono-rss.exe ../index
106         ./mono-rss.exe ../index deploy/index.rss
107
108 mono-rss.exe: mono-rss.cs rss.cs 
109         $(CSC) mono-rss.cs rss.cs
110
111 ../team: render-team-page.exe team.xml
112         ./render-team-page.exe team.xml "../team"
113
114 render-team-page.exe: render-team-page.cs
115         $(CSC) render-team-page.cs
116
117 clean:
118         rm -f $(OBJECTS) $(patsubst deploy/%.html,src/%.src, $(OBJECTS)) src/*.xml src/*.html.in ../class-status-* ../class-status
119
120 push:
121         cp -f $(NON_HTML_SOURCES) deploy
122         echo scp -P 2200 -r deploy/* www@www.ximian.com:/web/cvsmodules/mono
123         (cd deploy; rsync --verbose --recursive --checksum --update --rsh='ssh -p 2200' . www@www.ximian.com:/web/cvsmodules/mono )
124
125 push2: 
126         scp -r deploy/* primates:public_html/xxx
127
128 $(OBJECTS): $(patsubst deploy/%.html,src/%.src, $(OBJECTS))
129
130 #.PRECIOUS: $(patsubst deploy/%.html,src/%.src, $(OBJECTS))
131
132
133
134 .PRECIOUS: src/%.src
135 src/%.src: ../% commands makefile template.html.in
136         perl htmlify $< > $@
137
138 .PRECIOUS: ../class-status-%
139 ../class-status-%: src/%.html.in ../class-status.in
140         cat ../class-status.in $< > $@
141
142
143 .PRECIOUS: src/%.html.in
144 src/%.html.in: src/%.xml $(CORCOMPARE)/transform.js $(CORCOMPARE)/cormissing.xsl
145         $(CSCRIPT) /nologo $(CORCOMPARE)/transform.js $< $(CORCOMPARE)/cormissing.xsl > $@
146
147
148
149 .PRECIOUS: src/%.xml
150 src/%.xml: ../../../mcs/class/lib/%.dll $(CORCOMPARE)/CorCompare.exe
151         $(CORCOMPARE)/CorCompare.exe -x $@ $<
152
153 src/corlib.xml: ../../../mcs/class/lib/corlib_cmp.dll $(CORCOMPARE)/CorCompare.exe
154         $(CORCOMPARE)/CorCompare.exe -f corlib -ms mscorlib -x $@ $<
155
156 src/System.Security.xml: ../../../mcs/class/lib/System.Security_cmp.dll $(CORCOMPARE)/CorCompare.exe
157         $(CORCOMPARE)/CorCompare.exe -f System.Security -ms System.Security -x $@ $<
158
159 ../class-status: ../class-status.in
160         cp -f $< $@
161
162 make-rss:
163         $(CSC) make-rss.cs -o