2 DESTDIR = /projects/mowgli/public_html
5 XSLTP = xsltproc --param current-date "'`date`'"
6 TEMPLATESROOT = ../templates
11 people/aei/kelley.html \
12 people/aei/schutz.html \
13 people/aei/velden.html \
14 people/aei/wegner.html \
15 people/bologna/asperti.html \
16 people/bologna/guidi.html \
17 people/bologna/padovani.html \
18 people/bologna/sacerdoti.html \
19 people/bologna/schena.html \
20 people/dfki/kohlhase.html \
21 people/dfki/melis.html \
22 people/dfki/siekmann.html \
23 people/inria/amerkad.html \
24 people/inria/bertot.html \
25 people/inria/chicli.html \
26 people/inria/delahaye.html \
27 people/inria/herbelin.html \
28 people/inria/naciri.html \
29 people/inria/pottier.html \
30 people/inria/rideau.html \
31 people/inria/thery.html \
32 people/nijmegen/barendregt.html \
33 people/nijmegen/barreiro.html \
34 people/nijmegen/cohen.html \
35 people/nijmegen/cruz-filipe.html \
36 people/nijmegen/geuvers.html \
37 people/nijmegen/niqui.html \
38 people/nijmegen/stein.html \
39 people/nijmegen/synek.html \
40 people/nijmegen/wiedijk.html \
41 people/trusted-logic/bolignano.html
47 project-management.html \
48 project-objectives.html \
49 project-summary.html \
57 deliverables/distribution/d5a.html \
58 deliverables/distribution/d5b.html \
59 deliverables/information-dissemination-and-exploitation/d7a.html \
60 deliverables/information-dissemination-and-exploitation/d7b.html \
61 deliverables/interfaces/d4a.html \
62 deliverables/interfaces/d4b.html \
63 deliverables/interfaces/d4c.html \
64 deliverables/interfaces/d4d.html \
65 deliverables/interfaces/d4e.html \
66 deliverables/metadata/d3a.html \
67 deliverables/metadata/d3b.html \
68 deliverables/project-management/d0a.html \
69 deliverables/project-management/d0b.html \
70 deliverables/project-management/d0c.html \
71 deliverables/project-management/d0d.html \
72 deliverables/requirement-analysis/d1a.html \
73 deliverables/requirement-analysis/d1b.html \
74 deliverables/requirement-analysis/d1c.html \
75 deliverables/testing-and-validation/d6a.html \
76 deliverables/testing-and-validation/d6b.html \
77 deliverables/testing-and-validation/d6c.html \
78 deliverables/testing-and-validation/d6d.html \
79 deliverables/transformation/d2a.html \
80 deliverables/transformation/d2b.html \
81 deliverables/transformation/d2c.html \
82 deliverables/transformation/d2d.html \
83 deliverables/transformation/d2e.html \
84 deliverables/transformation/d2f.html \
85 deliverables/transformation/d2g.html \
87 members/ml-help-example.txt \
88 mowgli-events/kick-off.html \
95 sites/trusted-logic.html \
96 publications/index.html \
97 publications/others/category_al.html \
98 publications/others/crimea2001_apss.html \
99 publications/others/cup_s.html \
100 publications/others/cup_s2.html \
101 publications/others/extreme2001_apss.html \
102 publications/others/har_bg.html \
103 publications/others/jep_ws.html \
104 publications/others/jep_wwsw.html \
105 publications/others/jlp2001_scg.html \
106 publications/others/mathml2000_apss.html \
107 publications/others/mscs_gb.html \
108 publications/others/tcs2001_og.html \
109 publications/others/tphols2000_gwz.html \
110 publications/others/tphols2001_apss.html \
111 work-packages/index.html \
112 work-packages/distribution.html \
113 work-packages/information-dissemination-and-exploitation.html \
114 work-packages/interfaces.html \
115 work-packages/metadata.html \
116 work-packages/project-management.html \
117 work-packages/requirement-analysis.html \
118 work-packages/testing-and-validation.html \
119 work-packages/transformation.html \
124 home.html: $(XMLROOT)/home.xml \
125 $(XMLROOT)/news.xml \
126 $(XMLROOT)/other-events.xml \
127 $(XMLROOT)/mowgli-events.xml \
128 $(XSLROOT)/latest-news.xsl \
129 $(XSLROOT)/approaching-deadlines.xsl \
130 $(XSLROOT)/xhtml-content.xsl
131 $(XSLTP) -o latest-news.xml $(XSLROOT)/latest-news.xsl $(XMLROOT)/news.xml
132 $(XSLTP) --param today `date +%Y%m%d` -o approaching-deadlines.xml $(XSLROOT)/approaching-deadlines.xsl $(XMLROOT)/other-events.xml
133 $(XSLTP) --param path_to_top "'.'" -o $@ $(XSLROOT)/xhtml-content.xsl $(XMLROOT)/home.xml
135 index.html: $(TEMPLATESROOT)/index.html
138 members/ml-help-example.txt: $(TEMPLATESROOT)/ml-help-example.txt
141 members/index.html: $(XMLROOT)/members-index.xml \
142 $(XSLROOT)/xhtml-content.xsl
143 $(XSLTP) --param path_to_top "'..'" -o $@ $(XSLROOT)/xhtml-content.xsl $<
145 software/index.html: $(XMLROOT)/software/index.xml \
146 $(XSLROOT)/xhtml-content.xsl
147 $(XSLTP) --param path_to_top "'..'" -o $@ $(XSLROOT)/xhtml-content.xsl $<
149 menu.html: $(TEMPLATESROOT)/menu.html
152 project-management.html: $(XMLROOT)/project-management.xml \
153 $(XSLROOT)/xhtml-content.xsl
154 $(XSLTP) --param path_to_top "'.'" -o $@ $(XSLROOT)/xhtml-content.xsl $<
156 project-summary.html: $(XMLROOT)/project-summary.xml \
157 $(XSLROOT)/xhtml-content.xsl
158 $(XSLTP) --param path_to_top "'.'" -o $@ $(XSLROOT)/xhtml-content.xsl $<
160 project-objectives.html: $(XMLROOT)/project-objectives.xml \
161 $(XSLROOT)/xhtml-content.xsl
162 $(XSLTP) --param path_to_top "'.'" -o $@ $(XSLROOT)/xhtml-content.xsl $<
164 mowgli-events/kick-off.html: $(XMLROOT)/mowgli-events/kick-off.xml \
165 $(XSLROOT)/xhtml-content.xsl
166 $(XSLTP) --param path_to_top "'..'" -o $@ $(XSLROOT)/xhtml-content.xsl $<
168 people-list.html: $(XMLROOT)/people/index.xml \
169 $(XSLROOT)/people-list.xsl
170 $(XSLTP) -o $@ $(XSLROOT)/people-list.xsl $<
172 consortium.html: $(XMLROOT)/consortium.xml \
173 $(XSLROOT)/consortium.xsl
174 $(XSLTP) -o $@ $(XSLROOT)/consortium.xsl $<
176 project.html: $(XMLROOT)/project.xml \
177 $(XSLROOT)/project.xsl
178 $(XSLTP) -o $@ $(XSLROOT)/project.xsl $<
180 news.html: $(XMLROOT)/news.xml \
182 $(XSLTP) -o $@ $(XSLROOT)/news.xsl $<
184 other-events.html: $(XMLROOT)/other-events.xml \
185 $(XSLROOT)/events.xsl
186 $(XSLTP) --param today `date +%Y%m%d` --param events-class "'Other'" -o $@ $(XSLROOT)/events.xsl $<
188 mowgli-events.html: $(XMLROOT)/mowgli-events.xml \
189 $(XSLROOT)/events.xsl
190 $(XSLTP) --param today `date +%Y%m%d` --param events-class "'MOWGLI'" -o $@ $(XSLROOT)/events.xsl $<
192 deadlines.html: $(XMLROOT)/other-events.xml \
193 $(XSLROOT)/deadlines.xsl
194 $(XSLTP) --param today `date +%Y%m%d` --param events-class "'Other'" -o $@ $(XSLROOT)/deadlines.xsl $<
196 deliverables/%.html: $(XMLROOT)/deliverables/%.xml \
197 $(XSLROOT)/deliverable.xsl
198 $(XSLTP) -o $@ $(XSLROOT)/deliverable.xsl $<
200 sites/%.html: $(XMLROOT)/sites/%.xml \
202 $(XSLTP) -o $@ $(XSLROOT)/site.xsl $<
204 people/%.html: $(XMLROOT)/people/%.xml \
205 $(XSLROOT)/person.xsl
206 $(XSLTP) -o $@ $(XSLROOT)/person.xsl $<
208 publications/index.html: $(XMLROOT)/publications/index.xml \
209 $(XSLROOT)/publications-index.xsl
210 $(XSLTP) -o $@ $(XSLROOT)/publications-index.xsl $<
212 publications/%.html: $(XMLROOT)/publications/%.xml \
213 $(XSLROOT)/publication.xsl
214 $(XSLTP) -o $@ $(XSLROOT)/publication.xsl $<
216 work-packages/index.html: $(XMLROOT)/work-packages/index.xml \
217 $(XSLROOT)/work-packages_index.xsl
218 $(XSLTP) -o $@ $(XSLROOT)/work-packages_index.xsl $<
220 work-packages/%.html: $(XMLROOT)/work-packages/%.xml \
221 $(XSLROOT)/work-package.xsl
222 $(XSLTP) -o $@ $(XSLROOT)/work-package.xsl $<
228 install: $(DOCUMENTS)
229 mkdir -p $(DESTDIR)/html
230 for i in $(dir $(DOCUMENTS)); do \
231 mkdir -p $(DESTDIR)/html/$$i; \
233 for i in $(DOCUMENTS); do \
234 cp $$i $(DESTDIR)/html/$$i; \
236 mkdir -p $(DESTDIR)/images
237 cp ../images/*.* $(DESTDIR)/images
238 mkdir -p $(DESTDIR)/style
239 cp ../style/*.css $(DESTDIR)/style
240 cp ../htaccess $(DESTDIR)/html/members/.htaccess
241 mkdir -p $(DESTDIR)/html/members/contract
242 cp ../misc/contract/*.* $(DESTDIR)/html/members/contract
243 sed s/menu\\.html/html\\/menu\\.html/ <index.html | sed s/home\\.html/html\\/home\\.html/ >$(DESTDIR)/index.html
248 $(XSLROOT)/%.xsl : $(XSLROOT)/common.xsl
249 $(XSLROOT)/latest-news.xsl : $(XSLROOT)/news.xsl
250 $(DOCUMENTS) : $(XSLROOT)/common.xsl