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