source: trunk/adm/makefile @ 83

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

bug fixes, add guides sources and tools

  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 21.7 KB
Line 
1#+
2#
3# module
4# ======
5#
6# generation of documentation of superbib
7#
8# FILES
9# =====
10#
11# /usr/home/fplod/src/superbib_ws/adm/makefile sur aedon.locean-ipsl.upmc.fr
12#
13# TODO
14# ====
15#
16# ++ amélioration de la page index
17#
18# EVOLUTIONS
19# ==========
20#
21# $Id$
22#
23# - fplod 2008-10-28T10:59:44Z aedon.locean-ipsl.upmc.fr (Darwin)
24#
25#   * add newpage directive
26#     (thanks to http://docutils.sourceforge.net/docs/user/latex.html)
27#
28# - fplod 2008-09-17T09:16:08Z aedon.locean-ipsl.upmc.fr (Darwin)
29#   * add xsl files
30#
31# - fplod 2008-09-16T14:59:02Z aedon.locean-ipsl.upmc.fr (Darwin)
32#   * creation
33#
34# SEE ALSO
35# ========
36#
37# extract_rst.sh_
38#
39# .. _extract_rst.sh: ../extract_rst.sh.html
40#
41#-
42#
43PRODUCT = \
44superbib
45
46PRODUCTNAME = \
47$$(echo $(PRODUCT) | tr [:lower:] [:upper:])
48
49DIRSRC = \
50../
51
52DIRTMP = \
53./
54
55DIRWWW = \
56../doc/
57
58URLPUBLISH = \
59http://www.locean-ipsl.upmc.fr/~fplod/$(PRODUCT)/$(PRODUCT)_ws/
60
61LIST_SRCPHP = \
62$(DIRSRC)/timestamp.php
63
64LIST_SRCXSL = \
65$(DIRSRC)/components_db.xsl \
66$(DIRSRC)/form_db.xsl \
67$(DIRSRC)/main_html.xsl \
68$(DIRSRC)/message_lang.xsl \
69$(DIRSRC)/superbib01_html.xsl \
70$(DIRSRC)/superbib01_xml.xsl \
71$(DIRSRC)/superbib02_html.xsl \
72$(DIRSRC)/superbib02_xml.xsl \
73$(DIRSRC)/superbibmany01_html.xsl \
74$(DIRSRC)/superbibmany01_xml.xsl \
75$(DIRSRC)/superbibmany02_html.xsl \
76$(DIRSRC)/superbibmany02_xml.xsl \
77$(DIRSRC)/template_db.xsl \
78$(DIRSRC)/user_db.xsl \
79$(DIRSRC)/user_html.xsl
80
81LIST_SRCSH = \
82$(DIRSRC)/$(PRODUCT)_profile.sh \
83$(DIRSRC)/before.sh \
84$(DIRSRC)/bibopa.sh \
85$(DIRSRC)/install.sh \
86$(DIRSRC)/linkchecker.sh \
87$(DIRSRC)/mailtouser.sh \
88$(DIRSRC)/twindoi.sh
89
90.PHONY : \
91help \
92before \
93clean \
94htmllinkcheckb \
95htmllinkchecka \
96spellcheck \
97all \
98html \
99pdf
100
101help :
102        @echo "Prepare output directories :"
103        @echo "\$$ make before"
104        @echo ""
105        @echo "Following commands are available to build outputs :"
106        @echo "\$$ make all"
107        @echo " "
108        @echo "Check links before installation : "
109        @echo "\$$ make htmllinkcheckb"
110        @echo " "
111        @echo "Last step = installation"
112        @echo "\$$ make install"
113        @echo " "
114        @echo "Check links after installation : "
115        @echo "\$$ make htmllinkchecka"
116        @echo " "
117
118before :
119        @mkdir -p $(DIRWWW)/manuals/html/one/
120        @mkdir -p $(DIRWWW)/manuals/html/many/
121        @mkdir -p $(DIRWWW)/manuals/pdf/one/
122        @mkdir -p $(DIRWWW)/manuals/pdf/many/
123
124install :
125        @install.sh -w $(DIRWWW) -u $(URLPUBLISH)
126
127clean : \
128cleantmp
129        -@rm -fr $(DIRWWW)/
130        -@rm -fr $(DIRWWW)/manuals/html/
131        -@rm -fr $(DIRWWW)/manuals/pdf
132
133cleantmp :
134        -@rm -f $(DIRTMP)/all.xml
135        -@rm -f $(DIRTMP)/*.rst
136        -@rm -f $(DIRTMP)/*.rst[12]
137        -@rm -f $(DIRTMP)/links.rst*
138        -@rm -f $(DIRTMP)/*.tex
139        -@rm -f $(DIRWWW)/manuals/pdf/one/*.aux
140        -@rm -f $(DIRWWW)/manuals/pdf/one/*.log
141        -@rm -f $(DIRWWW)/manuals/pdf/one/*.out
142        -@rm -f $(DIRWWW)/manuals/pdf/many/*.aux
143        -@rm -f $(DIRWWW)/manuals/pdf/many/*.log
144        -@rm -f $(DIRWWW)/manuals/pdf/many/*.out
145
146htmllinkcheckb :
147        @linkchecker.sh -d $(DIRWWW)/manuals/html/
148
149htmllinkchecka :
150        @linkchecker.sh -u $(URLPUBLISH)
151
152spellcheck :
153        @++aspell --mode=sgml --master=francais -c \
154        $(DIRSRC)/$(PRODUCT).xml
155
156all : \
157man_html \
158man_pdf
159
160man_html : \
161man_html_one \
162man_html_many
163
164man_html_one : \
165$(DIRWWW)/manuals/html/one/index.html
166
167man_html_many : \
168$(DIRWWW)/manuals/html/many/index.html \
169$(DIRWWW)/manuals/html/many/$(PRODUCT)_profile.sh.html \
170$(DIRWWW)/manuals/html/many/before.sh.html \
171$(DIRWWW)/manuals/html/many/linkchecker.sh.html \
172$(DIRWWW)/manuals/html/many/mailtouser.sh.html \
173$(DIRWWW)/manuals/html/many/twindoi.sh.html \
174$(DIRWWW)/manuals/html/many/install.sh.html \
175$(DIRWWW)/manuals/html/many/bibopa.sh.html \
176$(DIRWWW)/manuals/html/many/components_db.xsl.html \
177$(DIRWWW)/manuals/html/many/form_db.xsl.html \
178$(DIRWWW)/manuals/html/many/main_html.xsl.html \
179$(DIRWWW)/manuals/html/many/message_lang.xsl.html \
180$(DIRWWW)/manuals/html/many/superbib01_html.xsl.html \
181$(DIRWWW)/manuals/html/many/superbib01_xml.xsl.html \
182$(DIRWWW)/manuals/html/many/superbib02_html.xsl.html \
183$(DIRWWW)/manuals/html/many/superbib02_xml.xsl.html \
184$(DIRWWW)/manuals/html/many/superbibmany01_html.xsl.html \
185$(DIRWWW)/manuals/html/many/superbibmany01_xml.xsl.html \
186$(DIRWWW)/manuals/html/many/superbibmany02_html.xsl.html \
187$(DIRWWW)/manuals/html/many/superbibmany02_xml.xsl.html \
188$(DIRWWW)/manuals/html/many/template_db.xsl.html \
189$(DIRWWW)/manuals/html/many/user_db.xsl.html \
190$(DIRWWW)/manuals/html/many/user_html.xsl.html \
191$(DIRWWW)/manuals/html/many/timestamp.php.html
192
193man_pdf : \
194man_pdf_one \
195man_pdf_many
196
197man_pdf_one : \
198$(DIRWWW)/manuals/pdf/one/$(PRODUCT)_manuals.pdf \
199
200man_pdf_many : \
201$(DIRWWW)/manuals/pdf/many/$(PRODUCT)_profile.sh.pdf \
202$(DIRWWW)/manuals/pdf/many/before.sh.pdf \
203$(DIRWWW)/manuals/pdf/many/linkchecker.sh.pdf \
204$(DIRWWW)/manuals/pdf/many/mailtouser.sh.pdf \
205$(DIRWWW)/manuals/pdf/many/twindoi.sh.pdf \
206$(DIRWWW)/manuals/pdf/many/install.sh.pdf \
207$(DIRWWW)/manuals/pdf/many/bibopa.sh.pdf \
208$(DIRWWW)/manuals/pdf/many/components_db.xsl.pdf \
209$(DIRWWW)/manuals/pdf/many/form_db.xsl.pdf \
210$(DIRWWW)/manuals/pdf/many/main_html.xsl.pdf \
211$(DIRWWW)/manuals/pdf/many/message_lang.xsl.pdf \
212$(DIRWWW)/manuals/pdf/many/superbib01_html.xsl.pdf \
213$(DIRWWW)/manuals/pdf/many/superbib01_xml.xsl.pdf \
214$(DIRWWW)/manuals/pdf/many/superbib02_html.xsl.pdf \
215$(DIRWWW)/manuals/pdf/many/superbib02_xml.xsl.pdf \
216$(DIRWWW)/manuals/pdf/many/superbibmany01_html.xsl.pdf \
217$(DIRWWW)/manuals/pdf/many/superbibmany01_xml.xsl.pdf \
218$(DIRWWW)/manuals/pdf/many/superbibmany02_html.xsl.pdf \
219$(DIRWWW)/manuals/pdf/many/superbibmany02_xml.xsl.pdf \
220$(DIRWWW)/manuals/pdf/many/template_db.xsl.pdf \
221$(DIRWWW)/manuals/pdf/many/user_db.xsl.pdf \
222$(DIRWWW)/manuals/pdf/many/user_html.xsl.pdf \
223$(DIRWWW)/manuals/pdf/many/timestamp.php.pdf
224
225$(DIRWWW)/manuals/html/many/index.html : \
226$(DIRTMP)/index.rst
227        @rst2html.py --input-encoding=ISO-8859-15 --strict \
228        $< $@
229
230$(DIRWWW)/manuals/html/one/index.html : \
231$(DIRTMP)/$(PRODUCT)_manuals.rst
232        @rst2html.py --input-encoding=ISO-8859-15 --strict \
233        $< $@
234
235$(DIRWWW)/manuals/pdf/one/$(PRODUCT)_manuals.pdf : \
236$(DIRTMP)/$(PRODUCT)_manuals.tex
237        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/one/ $<
238
239$(DIRTMP)/$(PRODUCT)_manuals.tex : \
240$(DIRTMP)/$(PRODUCT)_manuals.rst
241        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
242        $< $@
243
244$(DIRTMP)/$(PRODUCT)_manuals.rst : \
245$(DIRTMP)/index.rst \
246$(DIRTMP)/$(PRODUCT)_profile.sh.rst \
247$(DIRTMP)/before.sh.rst \
248$(DIRTMP)/bibopa.sh.rst \
249$(DIRTMP)/install.sh.rst \
250$(DIRTMP)/linkchecker.sh.rst \
251$(DIRTMP)/mailtouser.sh.rst \
252$(DIRTMP)/twindoi.sh.rst \
253$(DIRTMP)/components_db.xsl.rst \
254$(DIRTMP)/form_db.xsl.rst \
255$(DIRTMP)/main_html.xsl.rst \
256$(DIRTMP)/message_lang.xsl.rst \
257$(DIRTMP)/superbib01_html.xsl.rst \
258$(DIRTMP)/superbib01_xml.xsl.rst \
259$(DIRTMP)/superbib02_html.xsl.rst \
260$(DIRTMP)/superbib02_xml.xsl.rst \
261$(DIRTMP)/superbibmany01_html.xsl.rst \
262$(DIRTMP)/superbibmany01_xml.xsl.rst \
263$(DIRTMP)/superbibmany02_html.xsl.rst \
264$(DIRTMP)/superbibmany02_xml.xsl.rst \
265$(DIRTMP)/template_db.xsl.rst \
266$(DIRTMP)/user_db.xsl.rst \
267$(DIRTMP)/user_html.xsl.rst \
268$(DIRTMP)/timestamp.php.rst
269        @cat $(DIRTMP)/index.rst > ${DIRTMP}/$(PRODUCT)_manuals.rst1
270        @for file in $(LIST_SRCSH) $(LIST_SRCXSL) $(LIST_SRCPHP); \
271        do echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\
272        echo ".. raw:: latex" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\
273        echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\
274        echo "  \newpage" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\
275        echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\
276        echo ".. _$$(basename $${file}) :" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\
277        echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\
278        echo "$$(basename $${file})" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ;\
279        echo "$$(basename $${file} | tr [:print:] =)" >> ${DIRTMP}/$(PRODUCT)_manuals.rst1 ; \
280        echo " " >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \
281        sed -e "s/^==*$$/-----------------/" ${DIRTMP}/$$(basename $${file}).rst >> ${DIRTMP}/$(PRODUCT)_manuals.rst1; \
282        done
283        @grep "\.\. _.*: .*$$" ${DIRTMP}/$(PRODUCT)_manuals.rst1 > \
284        ${DIRTMP}/links.rst
285        @sed -e "s/^ *//" ${DIRTMP}/links.rst | sort -u > ${DIRTMP}/links.rst2
286        @sed -e "/\.\. _.*: .*$$/d" ${DIRTMP}/$(PRODUCT)_manuals.rst1 > \
287        ${DIRTMP}/$(PRODUCT)_manuals.rst2
288        @cp ${DIRTMP}/$(PRODUCT)_manuals.rst2 $@
289
290$(DIRTMP)/index.rst :
291        @echo "===================" >> $@
292        @echo "$(PRODUCTNAME) tools" >> $@
293        @echo "===================" >> $@
294        @echo " " >> $@
295        @echo "Shell scripts" >> $@
296        @echo "=============" >> $@
297        @for file in $(LIST_SRCSH); do echo " ";echo "$$(basename $${file})_"; echo " "; echo ".. _$$(basename $${file}) : $$(basename $${file}).html"; done >> $@
298        @echo " " >> $@
299        @echo "XSL scripts" >> $@
300        @echo "=============" >> $@
301        @for file in $(LIST_SRCXSL); do echo " ";echo "$$(basename $${file})_"; echo " "; echo ".. _$$(basename $${file}) : $$(basename $${file}).html"; done >> $@
302        @echo " " >> $@
303        @echo "PHP scripts" >> $@
304        @echo "=============" >> $@
305        @for file in $(LIST_SRCPHP); do echo " ";echo "$$(basename $${file})_"; echo " "; echo ".. _$$(basename $${file}) : $$(basename $${file}).html"; done >> $@
306
307$(DIRWWW)/manuals/html/many/$(PRODUCT)_profile.sh.html : \
308$(DIRTMP)/$(PRODUCT)_profile.sh.rst
309        @rst2html.py --input-encoding=ISO-8859-15 --strict \
310        $< $@
311
312$(DIRWWW)/manuals/pdf/many/$(PRODUCT)_profile.sh.pdf : \
313$(DIRTMP)/$(PRODUCT)_profile.sh.tex
314        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
315
316$(DIRTMP)/$(PRODUCT)_profile.sh.tex : \
317$(DIRTMP)/$(PRODUCT)_profile.sh.rst
318        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
319        $< $@
320
321$(DIRTMP)/$(PRODUCT)_profile.sh.rst : \
322$(DIRSRC)/$(PRODUCT)_profile.sh
323        @extract_rst.sh -i $< -l sh -o $@
324
325$(DIRWWW)/manuals/html/many/before.sh.html : \
326$(DIRTMP)/before.sh.rst
327        @rst2html.py --input-encoding=ISO-8859-15 --strict \
328        $< $@
329
330$(DIRWWW)/manuals/pdf/many/before.sh.pdf : \
331$(DIRTMP)/before.sh.tex
332        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
333
334$(DIRTMP)/before.sh.tex : \
335$(DIRTMP)/before.sh.rst
336        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
337        $< $@
338
339$(DIRTMP)/before.sh.rst : \
340$(DIRSRC)/before.sh
341        @extract_rst.sh -i $< -l sh -o $@
342
343$(DIRWWW)/manuals/html/many/linkchecker.sh.html : \
344$(DIRTMP)/linkchecker.sh.rst
345        @rst2html.py --input-encoding=ISO-8859-15 --strict \
346        $< $@
347
348$(DIRWWW)/manuals/pdf/many/linkchecker.sh.pdf : \
349$(DIRTMP)/linkchecker.sh.tex
350        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
351        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
352
353$(DIRTMP)/linkchecker.sh.tex : \
354$(DIRTMP)/linkchecker.sh.rst
355        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
356        $< $@
357
358$(DIRTMP)/linkchecker.sh.rst : \
359$(DIRSRC)/linkchecker.sh
360        @extract_rst.sh -i $< -l sh -o $@
361
362$(DIRWWW)/manuals/html/many/mailtouser.sh.html : \
363$(DIRTMP)/mailtouser.sh.rst
364        @rst2html.py --input-encoding=ISO-8859-15 --strict \
365        $< $@
366
367$(DIRWWW)/manuals/pdf/many/mailtouser.sh.pdf : \
368$(DIRTMP)/mailtouser.sh.tex
369        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
370        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
371
372$(DIRTMP)/mailtouser.sh.tex : \
373$(DIRTMP)/mailtouser.sh.rst
374        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
375        $< $@
376
377$(DIRTMP)/mailtouser.sh.rst : \
378$(DIRSRC)/mailtouser.sh
379        @extract_rst.sh -i $< -l sh -o $@
380
381$(DIRWWW)/manuals/html/many/twindoi.sh.html : \
382$(DIRTMP)/twindoi.sh.rst
383        @rst2html.py --input-encoding=ISO-8859-15 --strict \
384        $< $@
385
386$(DIRWWW)/manuals/pdf/many/twindoi.sh.pdf : \
387$(DIRTMP)/twindoi.sh.tex
388        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
389        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
390
391$(DIRTMP)/twindoi.sh.tex : \
392$(DIRTMP)/twindoi.sh.rst
393        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
394        $< $@
395
396$(DIRTMP)/twindoi.sh.rst : \
397$(DIRSRC)/twindoi.sh
398        @extract_rst.sh -i $< -l sh -o $@
399
400$(DIRWWW)/manuals/html/many/install.sh.html : \
401$(DIRTMP)/install.sh.rst
402        @rst2html.py --input-encoding=ISO-8859-15 --strict \
403        $< $@
404
405$(DIRWWW)/manuals/pdf/many/install.sh.pdf : \
406$(DIRTMP)/install.sh.tex
407        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
408        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
409
410$(DIRTMP)/install.sh.tex : \
411$(DIRTMP)/install.sh.rst
412        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
413        $< $@
414
415$(DIRTMP)/install.sh.rst : \
416$(DIRSRC)/install.sh
417        @extract_rst.sh -i $< -l sh -o $@
418
419$(DIRWWW)/manuals/html/many/bibopa.sh.html : \
420$(DIRTMP)/bibopa.sh.rst
421        @rst2html.py --input-encoding=ISO-8859-15 --strict \
422        $< $@
423
424$(DIRWWW)/manuals/pdf/many/bibopa.sh.pdf : \
425$(DIRTMP)/bibopa.sh.tex
426        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
427        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
428
429$(DIRTMP)/bibopa.sh.tex : \
430$(DIRTMP)/bibopa.sh.rst
431        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
432        $< $@
433
434$(DIRTMP)/bibopa.sh.rst : \
435$(DIRSRC)/bibopa.sh
436        @extract_rst.sh -i $< -l sh -o $@
437
438$(DIRWWW)/manuals/html/many/components_db.xsl.html : \
439$(DIRTMP)/components_db.xsl.rst
440        @rst2html.py --input-encoding=ISO-8859-15 --strict \
441        $< $@
442
443$(DIRWWW)/manuals/pdf/many/components_db.xsl.pdf : \
444$(DIRTMP)/components_db.xsl.tex
445        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
446        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
447
448$(DIRTMP)/components_db.xsl.tex : \
449$(DIRTMP)/components_db.xsl.rst
450        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
451        $< $@
452
453$(DIRTMP)/components_db.xsl.rst : \
454$(DIRSRC)/components_db.xsl
455        @extract_rst.sh -i $< -l xml -o $@
456
457$(DIRWWW)/manuals/html/many/form_db.xsl.html : \
458$(DIRTMP)/form_db.xsl.rst
459        @rst2html.py --input-encoding=ISO-8859-15 --strict \
460        $< $@
461
462$(DIRWWW)/manuals/pdf/many/form_db.xsl.pdf : \
463$(DIRTMP)/form_db.xsl.tex
464        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
465        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
466
467$(DIRTMP)/form_db.xsl.tex : \
468$(DIRTMP)/form_db.xsl.rst
469        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
470        $< $@
471
472$(DIRTMP)/form_db.xsl.rst : \
473$(DIRSRC)/form_db.xsl
474        @extract_rst.sh -i $< -l xml -o $@
475
476$(DIRWWW)/manuals/html/many/main_html.xsl.html : \
477$(DIRTMP)/main_html.xsl.rst
478        @rst2html.py --input-encoding=ISO-8859-15 --strict \
479        $< $@
480
481$(DIRWWW)/manuals/pdf/many/main_html.xsl.pdf : \
482$(DIRTMP)/main_html.xsl.tex
483        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
484        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
485
486$(DIRTMP)/main_html.xsl.tex : \
487$(DIRTMP)/main_html.xsl.rst
488        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
489        $< $@
490
491$(DIRTMP)/main_html.xsl.rst : \
492$(DIRSRC)/main_html.xsl
493        @extract_rst.sh -i $< -l xml -o $@
494
495$(DIRWWW)/manuals/html/many/message_lang.xsl.html : \
496$(DIRTMP)/message_lang.xsl.rst
497        @rst2html.py --input-encoding=ISO-8859-15 --strict \
498        $< $@
499
500$(DIRWWW)/manuals/pdf/many/message_lang.xsl.pdf : \
501$(DIRTMP)/message_lang.xsl.tex
502        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
503        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
504
505$(DIRTMP)/message_lang.xsl.tex : \
506$(DIRTMP)/message_lang.xsl.rst
507        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
508        $< $@
509
510$(DIRTMP)/message_lang.xsl.rst : \
511$(DIRSRC)/message_lang.xsl
512        @extract_rst.sh -i $< -l xml -o $@
513
514$(DIRWWW)/manuals/html/many/superbib01_html.xsl.html : \
515$(DIRTMP)/superbib01_html.xsl.rst
516        @rst2html.py --input-encoding=ISO-8859-15 --strict \
517        $< $@
518
519$(DIRWWW)/manuals/pdf/many/superbib01_html.xsl.pdf : \
520$(DIRTMP)/superbib01_html.xsl.tex
521        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
522        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
523
524$(DIRTMP)/superbib01_html.xsl.tex : \
525$(DIRTMP)/superbib01_html.xsl.rst
526        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
527        $< $@
528
529$(DIRTMP)/superbib01_html.xsl.rst : \
530$(DIRSRC)/superbib01_html.xsl
531        @extract_rst.sh -i $< -l xml -o $@
532
533$(DIRWWW)/manuals/html/many/superbib01_xml.xsl.html : \
534$(DIRTMP)/superbib01_xml.xsl.rst
535        @rst2html.py --input-encoding=ISO-8859-15 --strict \
536        $< $@
537
538$(DIRWWW)/manuals/pdf/many/superbib01_xml.xsl.pdf : \
539$(DIRTMP)/superbib01_xml.xsl.tex
540        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
541        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
542
543$(DIRTMP)/superbib01_xml.xsl.tex : \
544$(DIRTMP)/superbib01_xml.xsl.rst
545        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
546        $< $@
547
548$(DIRTMP)/superbib01_xml.xsl.rst : \
549$(DIRSRC)/superbib01_xml.xsl
550        @extract_rst.sh -i $< -l xml -o $@
551
552$(DIRWWW)/manuals/html/many/superbib02_html.xsl.html : \
553$(DIRTMP)/superbib02_html.xsl.rst
554        @rst2html.py --input-encoding=ISO-8859-15 --strict \
555        $< $@
556
557$(DIRWWW)/manuals/pdf/many/superbib02_html.xsl.pdf : \
558$(DIRTMP)/superbib02_html.xsl.tex
559        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
560        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
561
562$(DIRTMP)/superbib02_html.xsl.tex : \
563$(DIRTMP)/superbib02_html.xsl.rst
564        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
565        $< $@
566
567$(DIRTMP)/superbib02_html.xsl.rst : \
568$(DIRSRC)/superbib02_html.xsl
569        @extract_rst.sh -i $< -l xml -o $@
570
571$(DIRWWW)/manuals/html/many/superbib02_xml.xsl.html : \
572$(DIRTMP)/superbib02_xml.xsl.rst
573        @rst2html.py --input-encoding=ISO-8859-15 --strict \
574        $< $@
575
576$(DIRWWW)/manuals/pdf/many/superbib02_xml.xsl.pdf : \
577$(DIRTMP)/superbib02_xml.xsl.tex
578        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
579        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
580
581$(DIRTMP)/superbib02_xml.xsl.tex : \
582$(DIRTMP)/superbib02_xml.xsl.rst
583        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
584        $< $@
585
586$(DIRTMP)/superbib02_xml.xsl.rst : \
587$(DIRSRC)/superbib02_xml.xsl
588        @extract_rst.sh -i $< -l xml -o $@
589
590$(DIRWWW)/manuals/html/many/superbibmany01_html.xsl.html : \
591$(DIRTMP)/superbibmany01_html.xsl.rst
592        @rst2html.py --input-encoding=ISO-8859-15 --strict \
593        $< $@
594
595$(DIRWWW)/manuals/pdf/many/superbibmany01_html.xsl.pdf : \
596$(DIRTMP)/superbibmany01_html.xsl.tex
597        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
598        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
599
600$(DIRTMP)/superbibmany01_html.xsl.tex : \
601$(DIRTMP)/superbibmany01_html.xsl.rst
602        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
603        $< $@
604
605$(DIRTMP)/superbibmany01_html.xsl.rst : \
606$(DIRSRC)/superbibmany01_html.xsl
607        @extract_rst.sh -i $< -l xml -o $@
608
609$(DIRWWW)/manuals/html/many/superbibmany01_xml.xsl.html : \
610$(DIRTMP)/superbibmany01_xml.xsl.rst
611        @rst2html.py --input-encoding=ISO-8859-15 --strict \
612        $< $@
613
614$(DIRWWW)/manuals/pdf/many/superbibmany01_xml.xsl.pdf : \
615$(DIRTMP)/superbibmany01_xml.xsl.tex
616        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
617        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
618
619$(DIRTMP)/superbibmany01_xml.xsl.tex : \
620$(DIRTMP)/superbibmany01_xml.xsl.rst
621        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
622        $< $@
623
624$(DIRTMP)/superbibmany01_xml.xsl.rst : \
625$(DIRSRC)/superbibmany01_xml.xsl
626        @extract_rst.sh -i $< -l xml -o $@
627
628$(DIRWWW)/manuals/html/many/superbibmany02_html.xsl.html : \
629$(DIRTMP)/superbibmany02_html.xsl.rst
630        @rst2html.py --input-encoding=ISO-8859-15 --strict \
631        $< $@
632
633$(DIRWWW)/manuals/pdf/many/superbibmany02_html.xsl.pdf : \
634$(DIRTMP)/superbibmany02_html.xsl.tex
635        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
636        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
637
638$(DIRTMP)/superbibmany02_html.xsl.tex : \
639$(DIRTMP)/superbibmany02_html.xsl.rst
640        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
641        $< $@
642
643$(DIRTMP)/superbibmany02_html.xsl.rst : \
644$(DIRSRC)/superbibmany02_html.xsl
645        @extract_rst.sh -i $< -l xml -o $@
646
647$(DIRWWW)/manuals/html/many/superbibmany02_xml.xsl.html : \
648$(DIRTMP)/superbibmany02_xml.xsl.rst
649        @rst2html.py --input-encoding=ISO-8859-15 --strict \
650        $< $@
651
652$(DIRWWW)/manuals/pdf/many/superbibmany02_xml.xsl.pdf : \
653$(DIRTMP)/superbibmany02_xml.xsl.tex
654        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
655        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
656
657$(DIRTMP)/superbibmany02_xml.xsl.tex : \
658$(DIRTMP)/superbibmany02_xml.xsl.rst
659        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
660        $< $@
661
662$(DIRTMP)/superbibmany02_xml.xsl.rst : \
663$(DIRSRC)/superbibmany02_xml.xsl
664        @extract_rst.sh -i $< -l xml -o $@
665
666$(DIRWWW)/manuals/html/many/template_db.xsl.html : \
667$(DIRTMP)/template_db.xsl.rst
668        @rst2html.py --input-encoding=ISO-8859-15 --strict \
669        $< $@
670
671$(DIRWWW)/manuals/pdf/many/template_db.xsl.pdf : \
672$(DIRTMP)/template_db.xsl.tex
673        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
674        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
675
676$(DIRTMP)/template_db.xsl.tex : \
677$(DIRTMP)/template_db.xsl.rst
678        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
679        $< $@
680
681$(DIRTMP)/template_db.xsl.rst : \
682$(DIRSRC)/template_db.xsl
683        @extract_rst.sh -i $< -l xml -o $@
684
685$(DIRWWW)/manuals/html/many/user_db.xsl.html : \
686$(DIRTMP)/user_db.xsl.rst
687        @rst2html.py --input-encoding=ISO-8859-15 --strict \
688        $< $@
689
690$(DIRWWW)/manuals/pdf/many/user_db.xsl.pdf : \
691$(DIRTMP)/user_db.xsl.tex
692        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
693        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
694
695$(DIRTMP)/user_db.xsl.tex : \
696$(DIRTMP)/user_db.xsl.rst
697        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
698        $< $@
699
700$(DIRTMP)/user_db.xsl.rst : \
701$(DIRSRC)/user_db.xsl
702        @extract_rst.sh -i $< -l xml -o $@
703
704$(DIRWWW)/manuals/html/many/user_html.xsl.html : \
705$(DIRTMP)/user_html.xsl.rst
706        @rst2html.py --input-encoding=ISO-8859-15 --strict \
707        $< $@
708
709$(DIRWWW)/manuals/pdf/many/user_html.xsl.pdf : \
710$(DIRTMP)/user_html.xsl.tex
711        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
712        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
713
714$(DIRTMP)/user_html.xsl.tex : \
715$(DIRTMP)/user_html.xsl.rst
716        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
717        $< $@
718
719$(DIRTMP)/user_html.xsl.rst : \
720$(DIRSRC)/user_html.xsl
721        @extract_rst.sh -i $< -l xml -o $@
722
723$(DIRWWW)/manuals/html/many/timestamp.php.html : \
724$(DIRTMP)/timestamp.php.rst
725        @rst2html.py --input-encoding=ISO-8859-15 --strict \
726        $< $@
727
728$(DIRWWW)/manuals/pdf/many/timestamp.php.pdf : \
729$(DIRTMP)/timestamp.php.tex
730        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
731        @-pdflatex -output-directory $(DIRWWW)/manuals/pdf/many/ $<
732
733$(DIRTMP)/timestamp.php.tex : \
734$(DIRTMP)/timestamp.php.rst
735        @rst2newlatex.py --input-encoding=ISO-8859-15 --strict \
736        $< $@
737
738$(DIRTMP)/timestamp.php.rst : \
739$(DIRSRC)/timestamp.php
740        @extract_rst.sh -i $< -l php -o $@
741
Note: See TracBrowser for help on using the repository browser.