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

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

add svn digest

  • Property svn:keywords set to Id
File size: 16.1 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)/svnbasiccommands.html \
80$(DIRWWW)/getsaxo.html \
81$(DIRWWW)/websaxo.html \
82$(DIRWWW)/whatsnew.html \
83$(DIRWWW)/updatesaxo.html \
84$(DIRWWW)/whatissaxo.html \
85$(DIRWWW)/faqsaxo.html \
86$(DIRWWW)/infoupdatekwd.html \
87$(DIRWWW)/infoupdatecm.html \
88$(DIRWWW)/mailing.html \
89$(DIRWWW)/tiplink.html \
90$(DIRWWW)/mini_notice.html \
91$(DIRWWW)/firststeps.html \
92$(DIRWWW)/all_plots.html
93
94tracwiki : \
95$(DIRWIKI)/SvnBasicCommands \
96$(DIRWIKI)/AllPlots \
97$(DIRWIKI)/GetSaxo \
98$(DIRWIKI)/WikiStart \
99$(DIRWIKI)/FaqSaxo \
100$(DIRWIKI)/FirstSteps \
101$(DIRWIKI)/InfoUpdateKwd \
102$(DIRWIKI)/InfoUpdateCm \
103$(DIRWIKI)/Mailing \
104$(DIRWIKI)/MiniNotice \
105$(DIRWIKI)/TipLink \
106$(DIRWIKI)/WhatisSaxo \
107$(DIRWIKI)/UpdateSaxo \
108$(DIRWIKI)/WhatsNew
109        @echo "Do not forget to import wiki pages"
110        @echo "\$$ ssh $(PRODUCT)@forge.ipsl.jussieu.fr mkdir -p /tmp/$(PRODUCT)/"
111        @echo "\$$ rsync -av --exclude=".DS_Store" --exclude=".svn" $(DIRWIKI) $(PRODUCT)@forge.ipsl.jussieu.fr:/tmp/$(PRODUCT)/"
112        @echo "\$$ ssh $(PRODUCT)@forge.ipsl.jussieu.fr trac-admin /ipsl/forge/projets/$(PRODUCT)/trac wiki load /tmp/$(PRODUCT)/"
113
114        @echo "\$$ ssh $(PRODUCT)@forge.ipsl.jussieu.fr rmdir -f /tmp/$(PRODUCT)/"
115
116$(DIRWIKI)/WikiStart : \
117$(DIRSRC)/saxo_tracwiki.xsl \
118$(DIRTMP)/websaxo_full.xml
119        @xsltproc \
120        --output ginette \
121        $(DIRSRC)/saxo_tracwiki.xsl \
122        $(DIRTMP)/websaxo_full.xml
123        @xsltproc \
124        $(DIRSRC)/saxo_tracwiki.xsl \
125        $(DIRTMP)/websaxo_full.xml | \
126        awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \
127        sed -e "s+@star@+ *+" \
128        > $@
129
130$(DIRWWW)/websaxo.html : \
131$(DIRTMP)/websaxo_full.xml \
132$(DIRSRC)/saxo_html.xsl \
133$(DIRTMP)/titlepage.saxo.xsl \
134$(DIRSRC)/style.css \
135$(DIRSRC)/$(PRODUCT).css
136        @xsltproc \
137        --param html.stylesheet "'style.css $(PRODUCT).css'" \
138        --param css.decoration 1 \
139        --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \
140        --param section.autolabel 1 \
141        --output $@ \
142        $(DIRSRC)/saxo_html.xsl \
143        $(DIRTMP)/websaxo_full.xml
144
145$(DIRTMP)/websaxo_full.xml : \
146$(DIRSRC)/websaxo.xml
147        @xmllint \
148        --xinclude \
149        --encode utf-8 \
150        --noent \
151        --output $@ \
152        $(DIRSRC)/websaxo.xml
153
154$(DIRWIKI)/SvnBasicCommands : \
155$(DIRSRC)/saxo_tracwiki.xsl \
156$(DIRTMP)/svnbasiccommands_full.xml
157        @xsltproc \
158        $(DIRSRC)/saxo_tracwiki.xsl \
159        $(DIRTMP)/svnbasiccommands_full.xml | \
160        awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \
161        sed -e "s+@star@+*+" \
162        > $@
163
164$(DIRWWW)/svnbasiccommands.html : \
165$(DIRTMP)/svnbasiccommands_full.xml \
166$(DIRSRC)/saxo_html.xsl \
167$(DIRTMP)/titlepage.saxo.xsl \
168$(DIRSRC)/style.css \
169$(DIRSRC)/$(PRODUCT).css
170        @xsltproc \
171        --param html.stylesheet "'style.css $(PRODUCT).css'" \
172        --param css.decoration 1 \
173        --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \
174        --param section.autolabel 1 \
175        --output $@ \
176        $(DIRSRC)/saxo_html.xsl \
177        $(DIRTMP)/svnbasiccommands_full.xml
178
179$(DIRTMP)/svnbasiccommands_full.xml : \
180$(DIRSRC)/svnbasiccommands.xml
181        @xmllint \
182        --xinclude \
183        --encode utf-8 \
184        --noent \
185        --output $@ \
186        $(DIRSRC)/svnbasiccommands.xml
187
188$(DIRWIKI)/FaqSaxo : \
189$(DIRSRC)/saxo_tracwiki.xsl \
190$(DIRTMP)/faqsaxo_full.xml
191        @xsltproc \
192        $(DIRSRC)/saxo_tracwiki.xsl \
193        $(DIRTMP)/faqsaxo_full.xml | \
194        awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \
195        sed -e "s+@star@+*+" \
196        > $@
197
198$(DIRWWW)/faqsaxo.html : \
199$(DIRTMP)/faqsaxo_full.xml \
200$(DIRSRC)/saxo_html.xsl \
201$(DIRTMP)/titlepage.saxo.xsl \
202$(DIRSRC)/style.css \
203$(DIRSRC)/$(PRODUCT).css
204        @xsltproc \
205        --param html.stylesheet "'style.css $(PRODUCT).css'" \
206        --param css.decoration 1 \
207        --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \
208        --param section.autolabel 1 \
209        --output $@ \
210        $(DIRSRC)/saxo_html.xsl \
211        $(DIRTMP)/faqsaxo_full.xml
212
213$(DIRTMP)/faqsaxo_full.xml : \
214$(DIRSRC)/faqsaxo.xml
215        @xmllint \
216        --xinclude \
217        --encode utf-8 \
218        --noent \
219        --output $@ \
220        $(DIRSRC)/faqsaxo.xml
221
222$(DIRWIKI)/GetSaxo : \
223$(DIRSRC)/saxo_tracwiki.xsl \
224$(DIRTMP)/getsaxo_full.xml
225        @xsltproc \
226        $(DIRSRC)/saxo_tracwiki.xsl \
227        $(DIRTMP)/getsaxo_full.xml | \
228        awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \
229        sed -e "s+@star@+*+" \
230        > $@
231
232$(DIRWWW)/getsaxo.html : \
233$(DIRTMP)/getsaxo_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)/getsaxo_full.xml
246
247$(DIRTMP)/getsaxo_full.xml : \
248$(DIRSRC)/getsaxo.xml \
249$(DIRSRC)/getsaxo_pre.sh
250        @$(DIRSRC)/getsaxo_pre.sh
251        @xmllint \
252        --xinclude \
253        --encode utf-8 \
254        --noent \
255        --output $@ \
256        $(DIRTMP)/getsaxo_sed.xml
257
258$(DIRWIKI)/FirstSteps : \
259$(DIRSRC)/saxo_tracwiki.xsl \
260$(DIRTMP)/firststeps_full.xml
261        @xsltproc \
262        $(DIRSRC)/saxo_tracwiki.xsl \
263        $(DIRTMP)/firststeps_full.xml | \
264        awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \
265        sed -e "s+@star@+*+" \
266        > $@
267
268$(DIRWWW)/firststeps.html : \
269$(DIRTMP)/firststeps_full.xml \
270$(DIRSRC)/saxo_html.xsl \
271$(DIRTMP)/titlepage.saxo.xsl \
272$(DIRSRC)/style.css \
273$(DIRSRC)/$(PRODUCT).css
274        @xsltproc \
275        --param html.stylesheet "'style.css $(PRODUCT).css'" \
276        --param css.decoration 1 \
277        --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \
278        --param section.autolabel 1 \
279        --output $@ \
280        $(DIRSRC)/saxo_html.xsl \
281        $(DIRTMP)/firststeps_full.xml
282
283$(DIRWIKI)/AllPlots : \
284$(DIRSRC)/saxo_tracwiki.xsl \
285$(DIRTMP)/all_plots.xml
286        @xsltproc \
287        $(DIRSRC)/saxo_tracwiki.xsl \
288        $(DIRTMP)/all_plots.xml | \
289        awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \
290        sed -e "s+@star@+*+" \
291        > $@
292
293$(DIRWWW)/all_plots.html : \
294$(DIRTMP)/all_plots.xml \
295$(DIRSRC)/saxo_html.xsl \
296$(DIRTMP)/titlepage.saxo.xsl \
297$(DIRSRC)/style.css \
298$(DIRSRC)/$(PRODUCT).css
299        @xsltproc \
300        --param html.stylesheet "'style.css $(PRODUCT).css'" \
301        --param css.decoration 1 \
302        --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \
303        --param section.autolabel 1 \
304        --output $@ \
305        $(DIRSRC)/saxo_html.xsl \
306        $(DIRTMP)/all_plots.xml
307
308
309$(DIRTMP)/all_plots.xml : \
310$(DIRSRC)/all_plots_docbook.xsl \
311$(DIRTMP)/firststeps_full.xml
312        @xsltproc \
313        --output $@ \
314        $(DIRSRC)/all_plots_docbook.xsl \
315        $(DIRTMP)/firststeps_full.xml
316
317$(DIRTMP)/firststeps_full.xml : \
318$(DIRSRC)/firststeps.xml \
319$(DIRSRC)/firststeps_pre.sh
320        @$(DIRSRC)/firststeps_pre.sh
321        @xmllint \
322        --xinclude \
323        --encode utf-8 \
324        --noent \
325        --output $@ \
326        $(DIRTMP)/firststeps_sed.xml
327
328$(DIRWIKI)/Mailing : \
329$(DIRSRC)/saxo_tracwiki.xsl \
330$(DIRTMP)/mailing_full.xml
331        @xsltproc \
332        $(DIRSRC)/saxo_tracwiki.xsl \
333        $(DIRTMP)/mailing_full.xml | \
334        awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \
335        sed -e "s+@star@+*+" \
336        > $@
337
338$(DIRWWW)/mailing.html : \
339$(DIRTMP)/mailing_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)/mailing_full.xml
352
353$(DIRTMP)/mailing_full.xml : \
354$(DIRSRC)/mailing.xml
355        @xmllint \
356        --xinclude \
357        --encode utf-8 \
358        --noent \
359        --output $@ \
360        $(DIRSRC)/mailing.xml
361
362$(DIRWIKI)/MiniNotice : \
363$(DIRSRC)/saxo_tracwiki.xsl \
364$(DIRTMP)/mini_notice_full.xml
365        @xsltproc \
366        $(DIRSRC)/saxo_tracwiki.xsl \
367        $(DIRTMP)/mini_notice_full.xml | \
368        awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \
369        sed -e "s+@star@+*+" \
370        -e "s+=== idl\>+=== idl\>+" \
371        -e "s+---\>+---\>+" \
372        > $@
373
374$(DIRWWW)/mini_notice.html : \
375$(DIRTMP)/mini_notice_full.xml \
376$(DIRSRC)/saxo_html.xsl \
377$(DIRTMP)/titlepage.saxo.xsl \
378$(DIRSRC)/style.css \
379$(DIRSRC)/$(PRODUCT).css
380        @xsltproc \
381        --param html.stylesheet "'style.css $(PRODUCT).css'" \
382        --param css.decoration 1 \
383        --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \
384        --param section.autolabel 1 \
385        --output $@ \
386        $(DIRSRC)/saxo_html.xsl \
387        $(DIRTMP)/mini_notice_full.xml
388
389$(DIRTMP)/mini_notice_full.xml : \
390$(DIRSRC)/mini_notice.xml
391        @xmllint \
392        --xinclude \
393        --encode utf-8 \
394        --noent \
395        --output $@ \
396        $(DIRSRC)/mini_notice.xml
397
398$(DIRWIKI)/TipLink : \
399$(DIRSRC)/saxo_tracwiki.xsl \
400$(DIRTMP)/tiplink_full.xml
401        @xsltproc \
402        $(DIRSRC)/saxo_tracwiki.xsl \
403        $(DIRTMP)/tiplink_full.xml | \
404        awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \
405        sed -e "s+@star@+*+" \
406        > $@
407
408$(DIRWWW)/tiplink.html : \
409$(DIRTMP)/tiplink_full.xml \
410$(DIRSRC)/saxo_html.xsl \
411$(DIRTMP)/titlepage.saxo.xsl \
412$(DIRSRC)/style.css \
413$(DIRSRC)/$(PRODUCT).css
414        @xsltproc \
415        --param html.stylesheet "'style.css $(PRODUCT).css'" \
416        --param css.decoration 1 \
417        --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \
418        --param section.autolabel 1 \
419        --output $@ \
420        $(DIRSRC)/saxo_html.xsl \
421        $(DIRTMP)/tiplink_full.xml
422
423$(DIRTMP)/tiplink_full.xml : \
424$(DIRSRC)/tiplink.xml
425        @xmllint \
426        --xinclude \
427        --encode utf-8 \
428        --noent \
429        --output $@ \
430        $(DIRSRC)/tiplink.xml
431
432$(DIRWIKI)/InfoUpdateCm : \
433$(DIRSRC)/saxo_tracwiki.xsl \
434$(DIRTMP)/infoupdatecm_full.xml
435        @xsltproc \
436        $(DIRSRC)/saxo_tracwiki.xsl \
437        $(DIRTMP)/infoupdatecm_full.xml | \
438        awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \
439        sed -e "s+@star@+*+" \
440        > $@
441
442$(DIRWWW)/infoupdatecm.html : \
443$(DIRTMP)/infoupdatecm_full.xml \
444$(DIRSRC)/saxo_html.xsl \
445$(DIRTMP)/titlepage.saxo.xsl \
446$(DIRSRC)/style.css \
447$(DIRSRC)/$(PRODUCT).css
448        @xsltproc \
449        --param html.stylesheet "'style.css $(PRODUCT).css'" \
450        --param css.decoration 1 \
451        --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \
452        --param section.autolabel 1 \
453        --output $@ \
454        $(DIRSRC)/saxo_html.xsl \
455        $(DIRTMP)/infoupdatecm_full.xml
456
457$(DIRTMP)/infoupdatecm_full.xml : \
458$(DIRSRC)/infoupdatecm.xml \
459$(DIRTMP)/rowscm.xml
460        @xmllint \
461        --xinclude \
462        --encode utf-8 \
463        --noent \
464        --output $@ \
465        $(DIRSRC)/infoupdatecm.xml
466
467$(DIRWIKI)/InfoUpdateKwd : \
468$(DIRSRC)/saxo_tracwiki.xsl \
469$(DIRTMP)/infoupdatekwd_full.xml
470        @xsltproc \
471        $(DIRSRC)/saxo_tracwiki.xsl \
472        $(DIRTMP)/infoupdatekwd_full.xml | \
473        awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \
474        sed -e "s+@star@+*+" \
475        > $@
476
477$(DIRWWW)/infoupdatekwd.html : \
478$(DIRTMP)/infoupdatekwd_full.xml \
479$(DIRSRC)/saxo_html.xsl \
480$(DIRTMP)/titlepage.saxo.xsl \
481$(DIRSRC)/style.css \
482$(DIRSRC)/$(PRODUCT).css
483        @xsltproc \
484        --param html.stylesheet "'style.css $(PRODUCT).css'" \
485        --param css.decoration 1 \
486        --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \
487        --param section.autolabel 1 \
488        --output $@ \
489        $(DIRSRC)/saxo_html.xsl \
490        $(DIRTMP)/infoupdatekwd_full.xml
491
492$(DIRTMP)/infoupdatekwd_full.xml : \
493$(DIRTMP)/infoupdatekwd.xml \
494$(DIRTMP)/rowskwd.xml
495        @xmllint \
496        --xinclude \
497        --encode utf-8 \
498        --noent \
499        --output $@ \
500        $(DIRTMP)/infoupdatekwd.xml
501
502$(DIRTMP)/rowscm.xml : \
503../../ForOldVersion/updateold.pro
504        @echo "<tbody>" > $@
505        @grep "IF NOT key_forgetold AND n_elements(\(.* = .*\)" ../../ForOldVersion/updateold.pro | \
506        sort | \
507        sed -e "s/\(^.* THEN \)\(.*\)\( = \)\(.*\)/<row><entry colname='old'><varname>\2<\/varname><\/entry> <entry colname='new'><varname>\4<\/varname><\/entry><\/row>/" >> $@
508        @echo "</tbody>" >> $@
509
510$(DIRTMP)/rowskwd.xml : \
511../../ForOldVersion/updatekwd.pro
512        @echo "<tbody>" > $@
513        @grep "^  old = \[old, .* new = \[new" ../../ForOldVersion/updatekwd.pro | \
514        sort | \
515        sed -e "s/\( old = \[old, '\)\(.*\)\('\] *& new = \[new, '\)\(.*\)\('\]\)/<row><entry colname='old'><varname>\2<\/varname><\/entry> <entry colname='new'><varname>\4<\/varname><\/entry><\/row>/" >> $@
516
517        @echo "</tbody>" >> $@
518
519$(DIRWIKI)/WhatisSaxo : \
520$(DIRSRC)/saxo_tracwiki.xsl \
521$(DIRTMP)/whatissaxo_full.xml
522        @xsltproc \
523        $(DIRSRC)/saxo_tracwiki.xsl \
524        $(DIRTMP)/whatissaxo_full.xml | \
525        awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \
526        sed -e "s+@star@+*+" \
527        > $@
528
529$(DIRWWW)/whatissaxo.html : \
530$(DIRTMP)/whatissaxo_full.xml \
531$(DIRSRC)/saxo_html.xsl \
532$(DIRTMP)/titlepage.saxo.xsl \
533$(DIRSRC)/style.css \
534$(DIRSRC)/$(PRODUCT).css
535        @xsltproc \
536        --param html.stylesheet "'style.css $(PRODUCT).css'" \
537        --param css.decoration 1 \
538        --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \
539        --param section.autolabel 1 \
540        --output $@ \
541        $(DIRSRC)/saxo_html.xsl \
542        $(DIRTMP)/whatissaxo_full.xml
543
544$(DIRTMP)/whatissaxo_full.xml : \
545$(DIRSRC)/whatissaxo.xml
546        @xmllint \
547        --xinclude \
548        --encode utf-8 \
549        --noent \
550        --output $@ \
551        $(DIRSRC)/whatissaxo.xml
552
553$(DIRWIKI)/WhatsNew : \
554$(DIRSRC)/saxo_tracwiki.xsl \
555$(DIRTMP)/whatsnew_full.xml
556        @xsltproc \
557        $(DIRSRC)/saxo_tracwiki.xsl \
558        $(DIRTMP)/whatsnew_full.xml | \
559        awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \
560        sed -e "s+@star@+*+" \
561        > $@
562
563$(DIRWWW)/whatsnew.html : \
564$(DIRTMP)/whatsnew_full.xml \
565$(DIRSRC)/saxo_html.xsl \
566$(DIRTMP)/titlepage.saxo.xsl \
567$(DIRSRC)/style.css \
568$(DIRSRC)/$(PRODUCT).css
569        @xsltproc \
570        --param html.stylesheet "'style.css $(PRODUCT).css'" \
571        --param css.decoration 1 \
572        --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \
573        --param section.autolabel 1 \
574        --output $@ \
575        $(DIRSRC)/saxo_html.xsl \
576        $(DIRTMP)/whatsnew_full.xml
577       
578$(DIRTMP)/whatsnew_full.xml : \
579$(DIRSRC)/whatsnew.xml
580        @xmllint \
581        --xinclude \
582        --encode utf-8 \
583        --noent \
584        --output $@ \
585        $(DIRSRC)/whatsnew.xml
586
587$(DIRWIKI)/UpdateSaxo : \
588$(DIRSRC)/saxo_tracwiki.xsl \
589$(DIRTMP)/updatesaxo_full.xml
590        @xsltproc \
591        $(DIRSRC)/saxo_tracwiki.xsl \
592        $(DIRTMP)/updatesaxo_full.xml | \
593        awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \
594        sed -e "s+@star@+*+" \
595        > $@
596
597$(DIRWWW)/updatesaxo.html : \
598$(DIRTMP)/updatesaxo_full.xml \
599$(DIRSRC)/saxo_html.xsl \
600$(DIRTMP)/titlepage.saxo.xsl \
601$(DIRSRC)/style.css \
602$(DIRSRC)/$(PRODUCT).css
603        @xsltproc \
604        --param html.stylesheet "'style.css $(PRODUCT).css'" \
605        --param css.decoration 1 \
606        --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \
607        --param section.autolabel 1 \
608        --output $@ \
609        $(DIRSRC)/saxo_html.xsl \
610        $(DIRTMP)/updatesaxo_full.xml
611       
612$(DIRTMP)/updatesaxo_full.xml : \
613$(DIRSRC)/updatesaxo.xml
614        @xmllint \
615        --xinclude \
616        --encode utf-8 \
617        --noent \
618        --output $@ \
619        $(DIRSRC)/updatesaxo.xml
620
621$(DIRTMP)/titlepage.saxo.xsl : \
622$(DIRSRC)/titlepage.saxo.xml
623        @xsltproc \
624        --output $@ \
625        http://docbook.sourceforge.net/release/xsl/current/template/titlepage.xsl \
626        $(DIRSRC)/titlepage.saxo.xml \
627        $(DIRSRC)/titlepage.saxo.xml
Note: See TracBrowser for help on using the repository browser.