1 | # |
---|
2 | # module |
---|
3 | # ====== |
---|
4 | # |
---|
5 | # generation of documentations from XML files (and some IDL files) in HTML and |
---|
6 | # wiki forms |
---|
7 | # |
---|
8 | # FILES |
---|
9 | # ===== |
---|
10 | # |
---|
11 | # /Users/fplod/SAXO_DIR_ws/SRC/Documentation/xmldoc/makefile sur aedon.locean-ipsl.upmc.fr |
---|
12 | # |
---|
13 | # EVOLUTIONS |
---|
14 | # ========== |
---|
15 | # |
---|
16 | # $Id$ |
---|
17 | # |
---|
18 | # - fplod 20091106T151022Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
19 | # |
---|
20 | # * no more titlepage.saxo.xml usage |
---|
21 | # |
---|
22 | # - fplod 20091106T143104Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
23 | # |
---|
24 | # * better usage of $< |
---|
25 | # |
---|
26 | # - fplod 2008-04-16T10:06:39Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
27 | # working on wiki production using |
---|
28 | # http://xmlstar.sourceforge.net/doc/UG/xmlstarlet-ug.html |
---|
29 | # fplod 2008-04-15T15:37:59Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
30 | # java is not ok now : |
---|
31 | # http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl; Ligne #53; Colonne #35; XSLT Error (javax.xml.transform.TransformerConfigurationException): javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: Had IO Exception with stylesheet file: keywords.xsl |
---|
32 | # replaced by xsltproc which is now ok for callouts |
---|
33 | # fplod 2008-04-15T08:10:09Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
34 | # add xml validation using xmlstarlet |
---|
35 | # fplod 2007-06-27T10:07:59Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
36 | # creation in order to replace makehtml.sh |
---|
37 | # |
---|
38 | PRODUCT = \ |
---|
39 | saxo |
---|
40 | |
---|
41 | DIRBASE = \ |
---|
42 | ./ |
---|
43 | |
---|
44 | DIRSRC = \ |
---|
45 | $(DIRBASE) |
---|
46 | |
---|
47 | DIRTMP = \ |
---|
48 | ./ |
---|
49 | |
---|
50 | DIRWWW = \ |
---|
51 | ./ |
---|
52 | |
---|
53 | DIRWIKI = \ |
---|
54 | ./wiki/ |
---|
55 | |
---|
56 | .PHONY : \ |
---|
57 | all \ |
---|
58 | clean \ |
---|
59 | dbkcheck \ |
---|
60 | help \ |
---|
61 | html \ |
---|
62 | tracwiki |
---|
63 | |
---|
64 | help : |
---|
65 | @echo "\$$ make clean" |
---|
66 | @echo "\$$ make all" |
---|
67 | @echo "\$$ make dbkcheck" |
---|
68 | @echo "++ check link" |
---|
69 | @echo "++ depot html et wiki" |
---|
70 | |
---|
71 | clean : |
---|
72 | -@rm -f $(DIRTMP)/*_full.xml |
---|
73 | -@rm -f $(DIRTMP)/err_xmlstarlet_xsd |
---|
74 | -@rm -f $(DIRTMP)/rowscm.xml |
---|
75 | -@rm -f $(DIRTMP)/rowskwd.xml |
---|
76 | -@rm -f $(DIRTMP)/all_plots.xml |
---|
77 | -@rm -f $(DIRTMP)/getsaxo_sed.xml |
---|
78 | -@rm -f $(DIRTMP)/firststeps_sed.xml |
---|
79 | |
---|
80 | dbkcheck : |
---|
81 | @-rm $(DIRTMP)/err_xmlstarlet_xsd 2> /dev/null |
---|
82 | @for file in $(DIRTMP)/*_full.xml $(DIRTMP)/all_plots.xml; do \ |
---|
83 | xml val --err \ |
---|
84 | --xsd http://www.docbook.org/xml/5.0/xsd/docbook.xsd \ |
---|
85 | $${file} 1>> $(DIRTMP)/err_xmlstarlet_xsd 2>&1; done |
---|
86 | @echo "check for valid diag for each file in $(DIRTMP)/err_xmlstarlet_xsd" |
---|
87 | |
---|
88 | all : \ |
---|
89 | html \ |
---|
90 | tracwiki |
---|
91 | |
---|
92 | html : \ |
---|
93 | $(DIRWWW)/svnbasiccommands.html \ |
---|
94 | $(DIRWWW)/getsaxo.html \ |
---|
95 | $(DIRWWW)/websaxo.html \ |
---|
96 | $(DIRWWW)/whatsnew.html \ |
---|
97 | $(DIRWWW)/updatesaxo.html \ |
---|
98 | $(DIRWWW)/whatissaxo.html \ |
---|
99 | $(DIRWWW)/faqsaxo.html \ |
---|
100 | $(DIRWWW)/infoupdatekwd.html \ |
---|
101 | $(DIRWWW)/infoupdatecm.html \ |
---|
102 | $(DIRWWW)/mailing.html \ |
---|
103 | $(DIRWWW)/tiplink.html \ |
---|
104 | $(DIRWWW)/mini_notice.html \ |
---|
105 | $(DIRWWW)/firststeps.html \ |
---|
106 | $(DIRWWW)/all_plots.html |
---|
107 | |
---|
108 | tracwiki : \ |
---|
109 | $(DIRWIKI)/SvnBasicCommands \ |
---|
110 | $(DIRWIKI)/AllPlots \ |
---|
111 | $(DIRWIKI)/GetSaxo \ |
---|
112 | $(DIRWIKI)/WikiStart \ |
---|
113 | $(DIRWIKI)/FaqSaxo \ |
---|
114 | $(DIRWIKI)/FirstSteps \ |
---|
115 | $(DIRWIKI)/InfoUpdateKwd \ |
---|
116 | $(DIRWIKI)/InfoUpdateCm \ |
---|
117 | $(DIRWIKI)/Mailing \ |
---|
118 | $(DIRWIKI)/MiniNotice \ |
---|
119 | $(DIRWIKI)/TipLink \ |
---|
120 | $(DIRWIKI)/WhatisSaxo \ |
---|
121 | $(DIRWIKI)/UpdateSaxo \ |
---|
122 | $(DIRWIKI)/WhatsNew |
---|
123 | @echo "Do not forget to import wiki pages" |
---|
124 | @echo "\$$ ssh $(PRODUCT)@forge.ipsl.jussieu.fr mkdir -p /tmp/$(PRODUCT)/" |
---|
125 | @echo "\$$ rsync -av --exclude=".DS_Store" --exclude=".svn" $(DIRWIKI) $(PRODUCT)@forge.ipsl.jussieu.fr:/tmp/$(PRODUCT)/" |
---|
126 | @echo "\$$ ssh $(PRODUCT)@forge.ipsl.jussieu.fr trac-admin /ipsl/forge/projets/$(PRODUCT)/trac wiki load /tmp/$(PRODUCT)/" |
---|
127 | |
---|
128 | @echo "\$$ ssh $(PRODUCT)@forge.ipsl.jussieu.fr rmdir -f /tmp/$(PRODUCT)/" |
---|
129 | |
---|
130 | $(DIRWIKI)/WikiStart : \ |
---|
131 | $(DIRTMP)/websaxo_full.xml \ |
---|
132 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
133 | $(DIRSRC)/linkwiki.sed |
---|
134 | @xsltproc \ |
---|
135 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
136 | $< | \ |
---|
137 | sed -f $(DIRSRC)/linkwiki.sed | \ |
---|
138 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
139 | sed -e "s+@star@+ *+" \ |
---|
140 | > $@ |
---|
141 | |
---|
142 | $(DIRWWW)/websaxo.html : \ |
---|
143 | $(DIRTMP)/websaxo_full.xml \ |
---|
144 | $(DIRSRC)/saxo_html.xsl \ |
---|
145 | $(DIRSRC)/style.css \ |
---|
146 | $(DIRSRC)/$(PRODUCT).css |
---|
147 | @xsltproc \ |
---|
148 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
149 | --param css.decoration 1 \ |
---|
150 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
151 | --param section.autolabel 1 \ |
---|
152 | --output $@ \ |
---|
153 | $(DIRSRC)/saxo_html.xsl \ |
---|
154 | $< |
---|
155 | |
---|
156 | $(DIRTMP)/websaxo_full.xml : \ |
---|
157 | $(DIRSRC)/websaxo.xml |
---|
158 | @xmllint \ |
---|
159 | --xinclude \ |
---|
160 | --encode utf-8 \ |
---|
161 | --noent \ |
---|
162 | --output $@ \ |
---|
163 | $< |
---|
164 | |
---|
165 | $(DIRWIKI)/SvnBasicCommands : \ |
---|
166 | $(DIRTMP)/svnbasiccommands_full.xml \ |
---|
167 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
168 | $(DIRSRC)/linkwiki.sed |
---|
169 | @xsltproc \ |
---|
170 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
171 | $< | \ |
---|
172 | sed -f $(DIRSRC)/linkwiki.sed | \ |
---|
173 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
174 | sed -e "s+@star@+*+" \ |
---|
175 | > $@ |
---|
176 | |
---|
177 | $(DIRWWW)/svnbasiccommands.html : \ |
---|
178 | $(DIRTMP)/svnbasiccommands_full.xml \ |
---|
179 | $(DIRSRC)/saxo_html.xsl \ |
---|
180 | $(DIRSRC)/style.css \ |
---|
181 | $(DIRSRC)/$(PRODUCT).css |
---|
182 | @xsltproc \ |
---|
183 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
184 | --param css.decoration 1 \ |
---|
185 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
186 | --param section.autolabel 1 \ |
---|
187 | --output $@ \ |
---|
188 | $(DIRSRC)/saxo_html.xsl \ |
---|
189 | $< |
---|
190 | |
---|
191 | $(DIRTMP)/svnbasiccommands_full.xml : \ |
---|
192 | $(DIRSRC)/svnbasiccommands.xml |
---|
193 | @xmllint \ |
---|
194 | --xinclude \ |
---|
195 | --encode utf-8 \ |
---|
196 | --noent \ |
---|
197 | --output $@ \ |
---|
198 | $< |
---|
199 | |
---|
200 | $(DIRWIKI)/FaqSaxo : \ |
---|
201 | $(DIRTMP)/faqsaxo_full.xml \ |
---|
202 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
203 | $(DIRSRC)/linkwiki.sed |
---|
204 | @xsltproc \ |
---|
205 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
206 | $< | \ |
---|
207 | sed -f $(DIRSRC)/linkwiki.sed | \ |
---|
208 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
209 | sed -e "s+@star@+*+" \ |
---|
210 | > $@ |
---|
211 | |
---|
212 | $(DIRWWW)/faqsaxo.html : \ |
---|
213 | $(DIRTMP)/faqsaxo_full.xml \ |
---|
214 | $(DIRSRC)/saxo_html.xsl \ |
---|
215 | $(DIRSRC)/style.css \ |
---|
216 | $(DIRSRC)/$(PRODUCT).css |
---|
217 | @xsltproc \ |
---|
218 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
219 | --param css.decoration 1 \ |
---|
220 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
221 | --param section.autolabel 1 \ |
---|
222 | --output $@ \ |
---|
223 | $(DIRSRC)/saxo_html.xsl \ |
---|
224 | $< |
---|
225 | |
---|
226 | $(DIRTMP)/faqsaxo_full.xml : \ |
---|
227 | $(DIRSRC)/faqsaxo.xml |
---|
228 | @xmllint \ |
---|
229 | --xinclude \ |
---|
230 | --encode utf-8 \ |
---|
231 | --noent \ |
---|
232 | --output $@ \ |
---|
233 | $< |
---|
234 | |
---|
235 | $(DIRWIKI)/GetSaxo : \ |
---|
236 | $(DIRTMP)/getsaxo_full.xml \ |
---|
237 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
238 | $(DIRSRC)/linkwiki.sed |
---|
239 | @xsltproc \ |
---|
240 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
241 | $< | \ |
---|
242 | sed -f $(DIRSRC)/linkwiki.sed | \ |
---|
243 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
244 | sed -e "s+@star@+*+" \ |
---|
245 | > $@ |
---|
246 | |
---|
247 | $(DIRWWW)/getsaxo.html : \ |
---|
248 | $(DIRTMP)/getsaxo_full.xml \ |
---|
249 | $(DIRSRC)/saxo_html.xsl \ |
---|
250 | $(DIRSRC)/style.css \ |
---|
251 | $(DIRSRC)/$(PRODUCT).css |
---|
252 | @xsltproc \ |
---|
253 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
254 | --param css.decoration 1 \ |
---|
255 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
256 | --param section.autolabel 1 \ |
---|
257 | --output $@ \ |
---|
258 | $(DIRSRC)/saxo_html.xsl \ |
---|
259 | $< |
---|
260 | |
---|
261 | $(DIRTMP)/getsaxo_sed.xml : \ |
---|
262 | $(DIRSRC)/getsaxo.xml \ |
---|
263 | $(DIRSRC)/getsaxo_pre.sh |
---|
264 | @$(DIRSRC)/getsaxo_pre.sh |
---|
265 | |
---|
266 | $(DIRTMP)/getsaxo_full.xml : \ |
---|
267 | $(DIRTMP)/getsaxo_sed.xml |
---|
268 | @xmllint \ |
---|
269 | --xinclude \ |
---|
270 | --encode utf-8 \ |
---|
271 | --noent \ |
---|
272 | --output $@ \ |
---|
273 | $< |
---|
274 | |
---|
275 | $(DIRWIKI)/FirstSteps : \ |
---|
276 | $(DIRTMP)/firststeps_full.xml \ |
---|
277 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
278 | $(DIRSRC)/linkwiki.sed |
---|
279 | @xsltproc \ |
---|
280 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
281 | $< | \ |
---|
282 | sed -f $(DIRSRC)/linkwiki.sed | \ |
---|
283 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
284 | sed -e "s+@star@+*+" \ |
---|
285 | > $@ |
---|
286 | |
---|
287 | $(DIRWWW)/firststeps.html : \ |
---|
288 | $(DIRTMP)/firststeps_full.xml \ |
---|
289 | $(DIRSRC)/saxo_html.xsl \ |
---|
290 | $(DIRSRC)/style.css \ |
---|
291 | $(DIRSRC)/$(PRODUCT).css |
---|
292 | @xsltproc \ |
---|
293 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
294 | --param css.decoration 1 \ |
---|
295 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
296 | --param section.autolabel 1 \ |
---|
297 | --output $@ \ |
---|
298 | $(DIRSRC)/saxo_html.xsl \ |
---|
299 | $< |
---|
300 | |
---|
301 | $(DIRWIKI)/AllPlots : \ |
---|
302 | $(DIRTMP)/all_plots.xml \ |
---|
303 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
304 | $(DIRSRC)/linkwiki.sed |
---|
305 | @xsltproc \ |
---|
306 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
307 | $< | \ |
---|
308 | sed -f $(DIRSRC)/linkwiki.sed | \ |
---|
309 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
310 | sed -e "s+@star@+*+" \ |
---|
311 | > $@ |
---|
312 | |
---|
313 | $(DIRWWW)/all_plots.html : \ |
---|
314 | $(DIRTMP)/all_plots.xml \ |
---|
315 | $(DIRSRC)/saxo_html.xsl \ |
---|
316 | $(DIRSRC)/style.css \ |
---|
317 | $(DIRSRC)/$(PRODUCT).css |
---|
318 | @xsltproc \ |
---|
319 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
320 | --param css.decoration 1 \ |
---|
321 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
322 | --param section.autolabel 1 \ |
---|
323 | --output $@ \ |
---|
324 | $(DIRSRC)/saxo_html.xsl \ |
---|
325 | $< |
---|
326 | |
---|
327 | |
---|
328 | $(DIRTMP)/all_plots.xml : \ |
---|
329 | $(DIRTMP)/firststeps_full.xml \ |
---|
330 | $(DIRSRC)/all_plots_docbook.xsl |
---|
331 | @xsltproc \ |
---|
332 | --output $@ \ |
---|
333 | $(DIRSRC)/all_plots_docbook.xsl \ |
---|
334 | $< |
---|
335 | |
---|
336 | $(DIRTMP)/firststeps_sed.xml : \ |
---|
337 | $(DIRSRC)/firststeps_pre.sh \ |
---|
338 | $(DIRSRC)/firststeps.xml |
---|
339 | @$(DIRSRC)/firststeps_pre.sh |
---|
340 | |
---|
341 | $(DIRTMP)/firststeps_full.xml : \ |
---|
342 | $(DIRTMP)/firststeps_sed.xml |
---|
343 | @xmllint \ |
---|
344 | --xinclude \ |
---|
345 | --encode utf-8 \ |
---|
346 | --noent \ |
---|
347 | --output $@ \ |
---|
348 | $< |
---|
349 | |
---|
350 | $(DIRWIKI)/Mailing : \ |
---|
351 | $(DIRTMP)/mailing_full.xml \ |
---|
352 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
353 | $(DIRSRC)/linkwiki.sed |
---|
354 | @xsltproc \ |
---|
355 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
356 | $< | \ |
---|
357 | sed -f $(DIRSRC)/linkwiki.sed | \ |
---|
358 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
359 | sed -e "s+@star@+*+" \ |
---|
360 | > $@ |
---|
361 | |
---|
362 | $(DIRWWW)/mailing.html : \ |
---|
363 | $(DIRTMP)/mailing_full.xml \ |
---|
364 | $(DIRSRC)/saxo_html.xsl \ |
---|
365 | $(DIRSRC)/style.css \ |
---|
366 | $(DIRSRC)/$(PRODUCT).css |
---|
367 | @xsltproc \ |
---|
368 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
369 | --param css.decoration 1 \ |
---|
370 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
371 | --param section.autolabel 1 \ |
---|
372 | --output $@ \ |
---|
373 | $(DIRSRC)/saxo_html.xsl \ |
---|
374 | $< |
---|
375 | |
---|
376 | $(DIRTMP)/mailing_full.xml : \ |
---|
377 | $(DIRSRC)/mailing.xml |
---|
378 | @xmllint \ |
---|
379 | --xinclude \ |
---|
380 | --encode utf-8 \ |
---|
381 | --noent \ |
---|
382 | --output $@ \ |
---|
383 | $< |
---|
384 | |
---|
385 | $(DIRWIKI)/MiniNotice : \ |
---|
386 | $(DIRTMP)/mini_notice_full.xml \ |
---|
387 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
388 | $(DIRSRC)/linkwiki.sed |
---|
389 | @xsltproc \ |
---|
390 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
391 | $< | \ |
---|
392 | sed -f $(DIRSRC)/linkwiki.sed | \ |
---|
393 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
394 | sed -e "s+@star@+*+" \ |
---|
395 | -e "s+=== idl\>+=== idl\>+" \ |
---|
396 | -e "s+---\>+---\>+" \ |
---|
397 | > $@ |
---|
398 | |
---|
399 | $(DIRWWW)/mini_notice.html : \ |
---|
400 | $(DIRTMP)/mini_notice_full.xml \ |
---|
401 | $(DIRSRC)/saxo_html.xsl \ |
---|
402 | $(DIRSRC)/style.css \ |
---|
403 | $(DIRSRC)/$(PRODUCT).css |
---|
404 | @xsltproc \ |
---|
405 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
406 | --param css.decoration 1 \ |
---|
407 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
408 | --param section.autolabel 1 \ |
---|
409 | --output $@ \ |
---|
410 | $(DIRSRC)/saxo_html.xsl \ |
---|
411 | $< |
---|
412 | |
---|
413 | $(DIRTMP)/mini_notice_full.xml : \ |
---|
414 | $(DIRSRC)/mini_notice.xml |
---|
415 | @xmllint \ |
---|
416 | --xinclude \ |
---|
417 | --encode utf-8 \ |
---|
418 | --noent \ |
---|
419 | --output $@ \ |
---|
420 | $< |
---|
421 | |
---|
422 | $(DIRWIKI)/TipLink : \ |
---|
423 | $(DIRTMP)/tiplink_full.xml \ |
---|
424 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
425 | $(DIRSRC)/linkwiki.sed |
---|
426 | @xsltproc \ |
---|
427 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
428 | $< | \ |
---|
429 | sed -f $(DIRSRC)/linkwiki.sed | \ |
---|
430 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
431 | sed -e "s+@star@+*+" \ |
---|
432 | > $@ |
---|
433 | |
---|
434 | $(DIRWWW)/tiplink.html : \ |
---|
435 | $(DIRTMP)/tiplink_full.xml \ |
---|
436 | $(DIRSRC)/saxo_html.xsl \ |
---|
437 | $(DIRSRC)/style.css \ |
---|
438 | $(DIRSRC)/$(PRODUCT).css |
---|
439 | @xsltproc \ |
---|
440 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
441 | --param css.decoration 1 \ |
---|
442 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
443 | --param section.autolabel 1 \ |
---|
444 | --output $@ \ |
---|
445 | $(DIRSRC)/saxo_html.xsl \ |
---|
446 | $< |
---|
447 | |
---|
448 | $(DIRTMP)/tiplink_full.xml : \ |
---|
449 | $(DIRSRC)/tiplink.xml |
---|
450 | @xmllint \ |
---|
451 | --xinclude \ |
---|
452 | --encode utf-8 \ |
---|
453 | --noent \ |
---|
454 | --output $@ \ |
---|
455 | $< |
---|
456 | |
---|
457 | $(DIRWIKI)/InfoUpdateCm : \ |
---|
458 | $(DIRTMP)/infoupdatecm_full.xml \ |
---|
459 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
460 | $(DIRSRC)/linkwiki.sed |
---|
461 | @xsltproc \ |
---|
462 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
463 | $< | \ |
---|
464 | sed -f $(DIRSRC)/linkwiki.sed | \ |
---|
465 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
466 | sed -e "s+@star@+*+" \ |
---|
467 | > $@ |
---|
468 | |
---|
469 | $(DIRWWW)/infoupdatecm.html : \ |
---|
470 | $(DIRTMP)/infoupdatecm_full.xml \ |
---|
471 | $(DIRSRC)/saxo_html.xsl \ |
---|
472 | $(DIRSRC)/style.css \ |
---|
473 | $(DIRSRC)/$(PRODUCT).css |
---|
474 | @xsltproc \ |
---|
475 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
476 | --param css.decoration 1 \ |
---|
477 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
478 | --param section.autolabel 1 \ |
---|
479 | --output $@ \ |
---|
480 | $(DIRSRC)/saxo_html.xsl \ |
---|
481 | $< |
---|
482 | |
---|
483 | $(DIRTMP)/infoupdatecm_full.xml : \ |
---|
484 | $(DIRSRC)/infoupdatecm.xml \ |
---|
485 | $(DIRTMP)/rowscm.xml |
---|
486 | @xmllint \ |
---|
487 | --xinclude \ |
---|
488 | --encode utf-8 \ |
---|
489 | --noent \ |
---|
490 | --output $@ \ |
---|
491 | $< |
---|
492 | |
---|
493 | $(DIRWIKI)/InfoUpdateKwd : \ |
---|
494 | $(DIRTMP)/infoupdatekwd_full.xml \ |
---|
495 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
496 | $(DIRSRC)/linkwiki.sed |
---|
497 | @xsltproc \ |
---|
498 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
499 | $< | \ |
---|
500 | sed -f $(DIRSRC)/linkwiki.sed | \ |
---|
501 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
502 | sed -e "s+@star@+*+" \ |
---|
503 | > $@ |
---|
504 | |
---|
505 | $(DIRWWW)/infoupdatekwd.html : \ |
---|
506 | $(DIRTMP)/infoupdatekwd_full.xml \ |
---|
507 | $(DIRSRC)/saxo_html.xsl \ |
---|
508 | $(DIRSRC)/style.css \ |
---|
509 | $(DIRSRC)/$(PRODUCT).css |
---|
510 | @xsltproc \ |
---|
511 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
512 | --param css.decoration 1 \ |
---|
513 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
514 | --param section.autolabel 1 \ |
---|
515 | --output $@ \ |
---|
516 | $(DIRSRC)/saxo_html.xsl \ |
---|
517 | $< |
---|
518 | |
---|
519 | $(DIRTMP)/infoupdatekwd_full.xml : \ |
---|
520 | $(DIRTMP)/infoupdatekwd.xml \ |
---|
521 | $(DIRTMP)/rowskwd.xml |
---|
522 | @xmllint \ |
---|
523 | --xinclude \ |
---|
524 | --encode utf-8 \ |
---|
525 | --noent \ |
---|
526 | --output $@ \ |
---|
527 | $< |
---|
528 | |
---|
529 | $(DIRTMP)/rowscm.xml : \ |
---|
530 | ../../ForOldVersion/updateold.pro |
---|
531 | @echo "<tbody>" > $@ |
---|
532 | @grep "IF NOT key_forgetold AND n_elements(\(.* = .*\)" $< | \ |
---|
533 | sort | \ |
---|
534 | sed -e "s/\(^.* THEN \)\(.*\)\( = \)\(.*\)/<row><entry colname='old'><varname>\2<\/varname><\/entry> <entry colname='new'><varname>\4<\/varname><\/entry><\/row>/" >> $@ |
---|
535 | @echo "</tbody>" >> $@ |
---|
536 | |
---|
537 | $(DIRTMP)/rowskwd.xml : \ |
---|
538 | ../../ForOldVersion/updatekwd.pro |
---|
539 | @echo "<tbody>" > $@ |
---|
540 | @grep "^ old = \[old, .* new = \[new" $< | \ |
---|
541 | sort | \ |
---|
542 | sed -e "s/\( old = \[old, '\)\(.*\)\('\] *& new = \[new, '\)\(.*\)\('\]\)/<row><entry colname='old'><varname>\2<\/varname><\/entry> <entry colname='new'><varname>\4<\/varname><\/entry><\/row>/" >> $@ |
---|
543 | |
---|
544 | @echo "</tbody>" >> $@ |
---|
545 | |
---|
546 | $(DIRWIKI)/WhatisSaxo : \ |
---|
547 | $(DIRTMP)/whatissaxo_full.xml \ |
---|
548 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
549 | $(DIRSRC)/linkwiki.sed |
---|
550 | @xsltproc \ |
---|
551 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
552 | $< | \ |
---|
553 | sed -f $(DIRSRC)/linkwiki.sed | \ |
---|
554 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
555 | sed -e "s+@star@+*+" \ |
---|
556 | > $@ |
---|
557 | |
---|
558 | $(DIRWWW)/whatissaxo.html : \ |
---|
559 | $(DIRTMP)/whatissaxo_full.xml \ |
---|
560 | $(DIRSRC)/saxo_html.xsl \ |
---|
561 | $(DIRSRC)/style.css \ |
---|
562 | $(DIRSRC)/$(PRODUCT).css |
---|
563 | @xsltproc \ |
---|
564 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
565 | --param css.decoration 1 \ |
---|
566 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
567 | --param section.autolabel 1 \ |
---|
568 | --output $@ \ |
---|
569 | $(DIRSRC)/saxo_html.xsl \ |
---|
570 | $< |
---|
571 | |
---|
572 | $(DIRTMP)/whatissaxo_full.xml : \ |
---|
573 | $(DIRSRC)/whatissaxo.xml |
---|
574 | @xmllint \ |
---|
575 | --xinclude \ |
---|
576 | --encode utf-8 \ |
---|
577 | --noent \ |
---|
578 | --output $@ \ |
---|
579 | $< |
---|
580 | |
---|
581 | $(DIRWIKI)/WhatsNew : \ |
---|
582 | $(DIRTMP)/whatsnew_full.xml \ |
---|
583 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
584 | $(DIRSRC)/linkwiki.sed |
---|
585 | @xsltproc \ |
---|
586 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
587 | $< | \ |
---|
588 | sed -f $(DIRSRC)/linkwiki.sed | \ |
---|
589 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
590 | sed -e "s+@star@+*+" \ |
---|
591 | > $@ |
---|
592 | |
---|
593 | $(DIRWWW)/whatsnew.html : \ |
---|
594 | $(DIRTMP)/whatsnew_full.xml \ |
---|
595 | $(DIRSRC)/saxo_html.xsl \ |
---|
596 | $(DIRSRC)/style.css \ |
---|
597 | $(DIRSRC)/$(PRODUCT).css |
---|
598 | @xsltproc \ |
---|
599 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
600 | --param css.decoration 1 \ |
---|
601 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
602 | --param section.autolabel 1 \ |
---|
603 | --output $@ \ |
---|
604 | $(DIRSRC)/saxo_html.xsl \ |
---|
605 | $< |
---|
606 | |
---|
607 | $(DIRTMP)/whatsnew_full.xml : \ |
---|
608 | $(DIRSRC)/whatsnew.xml |
---|
609 | @xmllint \ |
---|
610 | --xinclude \ |
---|
611 | --encode utf-8 \ |
---|
612 | --noent \ |
---|
613 | --output $@ \ |
---|
614 | $< |
---|
615 | |
---|
616 | $(DIRWIKI)/UpdateSaxo : \ |
---|
617 | $(DIRTMP)/updatesaxo_full.xml \ |
---|
618 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
619 | $(DIRSRC)/linkwiki.sed |
---|
620 | @xsltproc \ |
---|
621 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
622 | $< | \ |
---|
623 | sed -f $(DIRSRC)/linkwiki.sed | \ |
---|
624 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
625 | sed -e "s+@star@+*+" \ |
---|
626 | > $@ |
---|
627 | |
---|
628 | $(DIRWWW)/updatesaxo.html : \ |
---|
629 | $(DIRTMP)/updatesaxo_full.xml \ |
---|
630 | $(DIRSRC)/saxo_html.xsl \ |
---|
631 | $(DIRSRC)/style.css \ |
---|
632 | $(DIRSRC)/$(PRODUCT).css |
---|
633 | @xsltproc \ |
---|
634 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
635 | --param css.decoration 1 \ |
---|
636 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
637 | --param section.autolabel 1 \ |
---|
638 | --output $@ \ |
---|
639 | $(DIRSRC)/saxo_html.xsl \ |
---|
640 | $< |
---|
641 | |
---|
642 | $(DIRTMP)/updatesaxo_full.xml : \ |
---|
643 | $(DIRSRC)/updatesaxo.xml |
---|
644 | @xmllint \ |
---|
645 | --xinclude \ |
---|
646 | --encode utf-8 \ |
---|
647 | --noent \ |
---|
648 | --output $@ \ |
---|
649 | $< |
---|