source: trunk/SRC/Documentation/xmldoc/makefile @ 410

Last change on this file since 410 was 410, checked in by pinsard, 15 years ago

no more titlepage usage for XML processing

  • Property svn:keywords set to Id
File size: 14.7 KB
Line 
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#
38PRODUCT = \
39saxo
40
41DIRBASE = \
42./
43
44DIRSRC = \
45$(DIRBASE)
46
47DIRTMP = \
48./
49
50DIRWWW = \
51./
52
53DIRWIKI = \
54./wiki/
55
56.PHONY : \
57all \
58clean \
59dbkcheck \
60help \
61html \
62tracwiki
63
64help :
65        @echo "\$$ make clean"
66        @echo "\$$ make all"
67        @echo "\$$ make dbkcheck"
68        @echo "++ check link"
69        @echo "++ depot html et wiki"
70
71clean :
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
80dbkcheck :
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
88all : \
89html \
90tracwiki
91
92html : \
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
108tracwiki : \
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        @xsltproc \
134        --output ginette \
135        $(DIRSRC)/saxo_tracwiki.xsl \
136        $<
137        @xsltproc \
138        $(DIRSRC)/saxo_tracwiki.xsl \
139        $< | \
140        awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \
141        sed -e "s+@star@+ *+" \
142        > $@
143
144$(DIRWWW)/websaxo.html : \
145$(DIRTMP)/websaxo_full.xml \
146$(DIRSRC)/saxo_html.xsl \
147$(DIRSRC)/style.css \
148$(DIRSRC)/$(PRODUCT).css
149        @xsltproc \
150        --param html.stylesheet "'style.css $(PRODUCT).css'" \
151        --param css.decoration 1 \
152        --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \
153        --param section.autolabel 1 \
154        --output $@ \
155        $(DIRSRC)/saxo_html.xsl \
156        $<
157
158$(DIRTMP)/websaxo_full.xml : \
159$(DIRSRC)/websaxo.xml
160        @xmllint \
161        --xinclude \
162        --encode utf-8 \
163        --noent \
164        --output $@ \
165        $<
166
167$(DIRWIKI)/SvnBasicCommands : \
168$(DIRTMP)/svnbasiccommands_full.xml \
169$(DIRSRC)/saxo_tracwiki.xsl
170        @xsltproc \
171        $(DIRSRC)/saxo_tracwiki.xsl \
172        $< | \
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        @xsltproc \
204        $(DIRSRC)/saxo_tracwiki.xsl \
205        $< | \
206        awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \
207        sed -e "s+@star@+*+" \
208        > $@
209
210$(DIRWWW)/faqsaxo.html : \
211$(DIRTMP)/faqsaxo_full.xml \
212$(DIRSRC)/saxo_html.xsl \
213$(DIRSRC)/style.css \
214$(DIRSRC)/$(PRODUCT).css
215        @xsltproc \
216        --param html.stylesheet "'style.css $(PRODUCT).css'" \
217        --param css.decoration 1 \
218        --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \
219        --param section.autolabel 1 \
220        --output $@ \
221        $(DIRSRC)/saxo_html.xsl \
222        $<
223
224$(DIRTMP)/faqsaxo_full.xml : \
225$(DIRSRC)/faqsaxo.xml
226        @xmllint \
227        --xinclude \
228        --encode utf-8 \
229        --noent \
230        --output $@ \
231        $<
232
233$(DIRWIKI)/GetSaxo : \
234$(DIRTMP)/getsaxo_full.xml \
235$(DIRSRC)/saxo_tracwiki.xsl
236        @xsltproc \
237        $(DIRSRC)/saxo_tracwiki.xsl \
238        $< | \
239        awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \
240        sed -e "s+@star@+*+" \
241        > $@
242
243$(DIRWWW)/getsaxo.html : \
244$(DIRTMP)/getsaxo_full.xml \
245$(DIRSRC)/saxo_html.xsl \
246$(DIRSRC)/style.css \
247$(DIRSRC)/$(PRODUCT).css
248        @xsltproc \
249        --param html.stylesheet "'style.css $(PRODUCT).css'" \
250        --param css.decoration 1 \
251        --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \
252        --param section.autolabel 1 \
253        --output $@ \
254        $(DIRSRC)/saxo_html.xsl \
255        $<
256
257$(DIRTMP)/getsaxo_sed.xml : \
258$(DIRSRC)/getsaxo.xml \
259$(DIRSRC)/getsaxo_pre.sh
260        @$(DIRSRC)/getsaxo_pre.sh
261
262$(DIRTMP)/getsaxo_full.xml : \
263$(DIRTMP)/getsaxo_sed.xml
264        @xmllint \
265        --xinclude \
266        --encode utf-8 \
267        --noent \
268        --output $@ \
269        $<
270
271$(DIRWIKI)/FirstSteps : \
272$(DIRTMP)/firststeps_full.xml \
273$(DIRSRC)/saxo_tracwiki.xsl
274        @xsltproc \
275        $(DIRSRC)/saxo_tracwiki.xsl \
276        $< | \
277        awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \
278        sed -e "s+@star@+*+" \
279        > $@
280
281$(DIRWWW)/firststeps.html : \
282$(DIRTMP)/firststeps_full.xml \
283$(DIRSRC)/saxo_html.xsl \
284$(DIRSRC)/style.css \
285$(DIRSRC)/$(PRODUCT).css
286        @xsltproc \
287        --param html.stylesheet "'style.css $(PRODUCT).css'" \
288        --param css.decoration 1 \
289        --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \
290        --param section.autolabel 1 \
291        --output $@ \
292        $(DIRSRC)/saxo_html.xsl \
293        $<
294
295$(DIRWIKI)/AllPlots : \
296$(DIRTMP)/all_plots.xml \
297$(DIRSRC)/saxo_tracwiki.xsl
298        @xsltproc \
299        $(DIRSRC)/saxo_tracwiki.xsl \
300        $< | \
301        awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \
302        sed -e "s+@star@+*+" \
303        > $@
304
305$(DIRWWW)/all_plots.html : \
306$(DIRTMP)/all_plots.xml \
307$(DIRSRC)/saxo_html.xsl \
308$(DIRSRC)/style.css \
309$(DIRSRC)/$(PRODUCT).css
310        @xsltproc \
311        --param html.stylesheet "'style.css $(PRODUCT).css'" \
312        --param css.decoration 1 \
313        --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \
314        --param section.autolabel 1 \
315        --output $@ \
316        $(DIRSRC)/saxo_html.xsl \
317        $<
318
319
320$(DIRTMP)/all_plots.xml : \
321$(DIRTMP)/firststeps_full.xml \
322$(DIRSRC)/all_plots_docbook.xsl
323        @xsltproc \
324        --output $@ \
325        $(DIRSRC)/all_plots_docbook.xsl \
326        $<
327
328$(DIRTMP)/firststeps_sed.xml : \
329$(DIRSRC)/firststeps_pre.sh \
330$(DIRSRC)/firststeps.xml
331        @$(DIRSRC)/firststeps_pre.sh
332
333$(DIRTMP)/firststeps_full.xml : \
334$(DIRTMP)/firststeps_sed.xml
335        @xmllint \
336        --xinclude \
337        --encode utf-8 \
338        --noent \
339        --output $@ \
340        $<
341
342$(DIRWIKI)/Mailing : \
343$(DIRTMP)/mailing_full.xml \
344$(DIRSRC)/saxo_tracwiki.xsl
345        @xsltproc \
346        $(DIRSRC)/saxo_tracwiki.xsl \
347        $< | \
348        awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \
349        sed -e "s+@star@+*+" \
350        > $@
351
352$(DIRWWW)/mailing.html : \
353$(DIRTMP)/mailing_full.xml \
354$(DIRSRC)/saxo_html.xsl \
355$(DIRSRC)/style.css \
356$(DIRSRC)/$(PRODUCT).css
357        @xsltproc \
358        --param html.stylesheet "'style.css $(PRODUCT).css'" \
359        --param css.decoration 1 \
360        --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \
361        --param section.autolabel 1 \
362        --output $@ \
363        $(DIRSRC)/saxo_html.xsl \
364        $<
365
366$(DIRTMP)/mailing_full.xml : \
367$(DIRSRC)/mailing.xml
368        @xmllint \
369        --xinclude \
370        --encode utf-8 \
371        --noent \
372        --output $@ \
373        $<
374
375$(DIRWIKI)/MiniNotice : \
376$(DIRTMP)/mini_notice_full.xml \
377$(DIRSRC)/saxo_tracwiki.xsl
378        @xsltproc \
379        $(DIRSRC)/saxo_tracwiki.xsl \
380        $< | \
381        awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \
382        sed -e "s+@star@+*+" \
383        -e "s+=== idl\&gt;+=== idl\>+" \
384        -e "s+---\&gt;+---\>+" \
385        > $@
386
387$(DIRWWW)/mini_notice.html : \
388$(DIRTMP)/mini_notice_full.xml \
389$(DIRSRC)/saxo_html.xsl \
390$(DIRSRC)/style.css \
391$(DIRSRC)/$(PRODUCT).css
392        @xsltproc \
393        --param html.stylesheet "'style.css $(PRODUCT).css'" \
394        --param css.decoration 1 \
395        --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \
396        --param section.autolabel 1 \
397        --output $@ \
398        $(DIRSRC)/saxo_html.xsl \
399        $<
400
401$(DIRTMP)/mini_notice_full.xml : \
402$(DIRSRC)/mini_notice.xml
403        @xmllint \
404        --xinclude \
405        --encode utf-8 \
406        --noent \
407        --output $@ \
408        $<
409
410$(DIRWIKI)/TipLink : \
411$(DIRTMP)/tiplink_full.xml \
412$(DIRSRC)/saxo_tracwiki.xsl
413        @xsltproc \
414        $(DIRSRC)/saxo_tracwiki.xsl \
415        $< | \
416        awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \
417        sed -e "s+@star@+*+" \
418        > $@
419
420$(DIRWWW)/tiplink.html : \
421$(DIRTMP)/tiplink_full.xml \
422$(DIRSRC)/saxo_html.xsl \
423$(DIRSRC)/style.css \
424$(DIRSRC)/$(PRODUCT).css
425        @xsltproc \
426        --param html.stylesheet "'style.css $(PRODUCT).css'" \
427        --param css.decoration 1 \
428        --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \
429        --param section.autolabel 1 \
430        --output $@ \
431        $(DIRSRC)/saxo_html.xsl \
432        $<
433
434$(DIRTMP)/tiplink_full.xml : \
435$(DIRSRC)/tiplink.xml
436        @xmllint \
437        --xinclude \
438        --encode utf-8 \
439        --noent \
440        --output $@ \
441        $<
442
443$(DIRWIKI)/InfoUpdateCm : \
444$(DIRTMP)/infoupdatecm_full.xml \
445$(DIRSRC)/saxo_tracwiki.xsl
446        @xsltproc \
447        $(DIRSRC)/saxo_tracwiki.xsl \
448        $< | \
449        awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \
450        sed -e "s+@star@+*+" \
451        > $@
452
453$(DIRWWW)/infoupdatecm.html : \
454$(DIRTMP)/infoupdatecm_full.xml \
455$(DIRSRC)/saxo_html.xsl \
456$(DIRSRC)/style.css \
457$(DIRSRC)/$(PRODUCT).css
458        @xsltproc \
459        --param html.stylesheet "'style.css $(PRODUCT).css'" \
460        --param css.decoration 1 \
461        --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \
462        --param section.autolabel 1 \
463        --output $@ \
464        $(DIRSRC)/saxo_html.xsl \
465        $<
466
467$(DIRTMP)/infoupdatecm_full.xml : \
468$(DIRSRC)/infoupdatecm.xml \
469$(DIRTMP)/rowscm.xml
470        @xmllint \
471        --xinclude \
472        --encode utf-8 \
473        --noent \
474        --output $@ \
475        $<
476
477$(DIRWIKI)/InfoUpdateKwd : \
478$(DIRTMP)/infoupdatekwd_full.xml \
479$(DIRSRC)/saxo_tracwiki.xsl
480        @xsltproc \
481        $(DIRSRC)/saxo_tracwiki.xsl \
482        $< | \
483        awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \
484        sed -e "s+@star@+*+" \
485        > $@
486
487$(DIRWWW)/infoupdatekwd.html : \
488$(DIRTMP)/infoupdatekwd_full.xml \
489$(DIRSRC)/saxo_html.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        $<
500
501$(DIRTMP)/infoupdatekwd_full.xml : \
502$(DIRTMP)/infoupdatekwd.xml \
503$(DIRTMP)/rowskwd.xml
504        @xmllint \
505        --xinclude \
506        --encode utf-8 \
507        --noent \
508        --output $@ \
509        $<
510
511$(DIRTMP)/rowscm.xml : \
512../../ForOldVersion/updateold.pro
513        @echo "<tbody>" > $@
514        @grep "IF NOT key_forgetold AND n_elements(\(.* = .*\)" $< | \
515        sort | \
516        sed -e "s/\(^.* THEN \)\(.*\)\( = \)\(.*\)/<row><entry colname='old'><varname>\2<\/varname><\/entry> <entry colname='new'><varname>\4<\/varname><\/entry><\/row>/" >> $@
517        @echo "</tbody>" >> $@
518
519$(DIRTMP)/rowskwd.xml : \
520../../ForOldVersion/updatekwd.pro
521        @echo "<tbody>" > $@
522        @grep "^  old = \[old, .* new = \[new" $< | \
523        sort | \
524        sed -e "s/\( old = \[old, '\)\(.*\)\('\] *& new = \[new, '\)\(.*\)\('\]\)/<row><entry colname='old'><varname>\2<\/varname><\/entry> <entry colname='new'><varname>\4<\/varname><\/entry><\/row>/" >> $@
525
526        @echo "</tbody>" >> $@
527
528$(DIRWIKI)/WhatisSaxo : \
529$(DIRTMP)/whatissaxo_full.xml \
530$(DIRSRC)/saxo_tracwiki.xsl
531        @xsltproc \
532        $(DIRSRC)/saxo_tracwiki.xsl \
533        $< | \
534        awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \
535        sed -e "s+@star@+*+" \
536        > $@
537
538$(DIRWWW)/whatissaxo.html : \
539$(DIRTMP)/whatissaxo_full.xml \
540$(DIRSRC)/saxo_html.xsl \
541$(DIRSRC)/style.css \
542$(DIRSRC)/$(PRODUCT).css
543        @xsltproc \
544        --param html.stylesheet "'style.css $(PRODUCT).css'" \
545        --param css.decoration 1 \
546        --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \
547        --param section.autolabel 1 \
548        --output $@ \
549        $(DIRSRC)/saxo_html.xsl \
550        $<
551
552$(DIRTMP)/whatissaxo_full.xml : \
553$(DIRSRC)/whatissaxo.xml
554        @xmllint \
555        --xinclude \
556        --encode utf-8 \
557        --noent \
558        --output $@ \
559        $<
560
561$(DIRWIKI)/WhatsNew : \
562$(DIRTMP)/whatsnew_full.xml \
563$(DIRSRC)/saxo_tracwiki.xsl
564        @xsltproc \
565        $(DIRSRC)/saxo_tracwiki.xsl \
566        $< | \
567        awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \
568        sed -e "s+@star@+*+" \
569        > $@
570
571$(DIRWWW)/whatsnew.html : \
572$(DIRTMP)/whatsnew_full.xml \
573$(DIRSRC)/saxo_html.xsl \
574$(DIRSRC)/style.css \
575$(DIRSRC)/$(PRODUCT).css
576        @xsltproc \
577        --param html.stylesheet "'style.css $(PRODUCT).css'" \
578        --param css.decoration 1 \
579        --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \
580        --param section.autolabel 1 \
581        --output $@ \
582        $(DIRSRC)/saxo_html.xsl \
583        $<
584       
585$(DIRTMP)/whatsnew_full.xml : \
586$(DIRSRC)/whatsnew.xml
587        @xmllint \
588        --xinclude \
589        --encode utf-8 \
590        --noent \
591        --output $@ \
592        $<
593
594$(DIRWIKI)/UpdateSaxo : \
595$(DIRTMP)/updatesaxo_full.xml \
596$(DIRSRC)/saxo_tracwiki.xsl
597        @xsltproc \
598        $(DIRSRC)/saxo_tracwiki.xsl \
599        $< | \
600        awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \
601        sed -e "s+@star@+*+" \
602        > $@
603
604$(DIRWWW)/updatesaxo.html : \
605$(DIRTMP)/updatesaxo_full.xml \
606$(DIRSRC)/saxo_html.xsl \
607$(DIRSRC)/style.css \
608$(DIRSRC)/$(PRODUCT).css
609        @xsltproc \
610        --param html.stylesheet "'style.css $(PRODUCT).css'" \
611        --param css.decoration 1 \
612        --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \
613        --param section.autolabel 1 \
614        --output $@ \
615        $(DIRSRC)/saxo_html.xsl \
616        $<
617       
618$(DIRTMP)/updatesaxo_full.xml : \
619$(DIRSRC)/updatesaxo.xml
620        @xmllint \
621        --xinclude \
622        --encode utf-8 \
623        --noent \
624        --output $@ \
625        $<
Note: See TracBrowser for help on using the repository browser.