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

Last change on this file since 382 was 382, checked in by pinsard, 16 years ago

replace /tmp/wiki/saxo by /tmp/saxo in wiki update procedure to avoid protection problem (ownership of /tmp/wiki/)

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