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

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

new wiki generation technique : form _full.xml instead of .html

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