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

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

cleaner makefile for doc

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