]> git.sur5r.net Git - bacula/docs/blob - docs/manuals/fr/install/Makefile.save
Tweak downloads report
[bacula/docs] / docs / manuals / fr / install / Makefile.save
1 #
2 #
3 #  Makefile for LaTeX  
4 #
5 # To build everything do
6 #    make tex
7 #    make web
8 #    make html
9 #    make dvipdf
10 #
11 # or simply
12 #
13 #    make
14 #
15
16 IMAGES=../../../images
17
18 first_rule: bacula
19
20 bacula: tex web html dvipdf
21
22 .SUFFIXES:     .tex .html
23 .PHONY:
24 .DONTCARE:
25
26
27 tex:
28         @cp -fp ${IMAGES}/hires/*.eps .
29         touch install.idx installi-general.tex
30         -latex -interaction=batchmode install.tex
31         makeindex install.idx >/dev/null 2>/dev/null
32         -latex -interaction=batchmode install.tex
33
34 pdf:
35         @echo "Making install pdf"
36         @cp -fp ${IMAGES}/hires/*.eps .
37         dvipdf install.dvi install.pdf
38         @rm -f *.eps *.old
39
40 dvipdf:
41         @echo "Making install pdfm"
42         @cp -fp ${IMAGES}/hires/*.eps .
43         dvipdfm -p a4 install.dvi
44         @rm -f *.eps *.old
45
46 html:
47         @echo "Making install html"
48         @cp -fp ${IMAGES}/*.eps .
49         @rm -f next.eps next.png prev.eps prev.png up.eps up.png
50         @(if [ -f imagename_translations ] ; then \
51             ./translate_images.pl --from_meaningful_names install.html; \
52          fi)
53         latex2html -white -no_subdir -split 0 -toc_stars -white -notransparent \
54                 install >/dev/null
55         ./translate_images.pl --to_meaningful_names install.html
56         @rm -f *.eps *.gif *.jpg *.old
57
58 web:
59         @echo "Making install web"
60         @mkdir -p install
61         @rm -f install/*
62         @cp -fp ${IMAGES}/*.eps .
63         @rm -f next.eps next.png prev.eps prev.png up.eps up.png
64         @cp -fp ${IMAGES}/*.eps ${IMAGES}/*.png install/
65         @rm -f install/next.eps install/next.png install/prev.eps install/prev.png install/up.eps install/up.png
66         @(if [ -f install/imagename_translations ] ; then \
67            ./translate_images.pl --to_meaningful_names install/Bacula_Users_Guide.html; \
68          fi)
69         @rm -rf install/*.html
70         latex2html -split 3 -local_icons -t "Developer's Guide" \
71            -long_titles 4 -contents_in_nav -toc_stars -white \
72            -notransparent install >/dev/null
73         ./translate_images.pl --to_meaningful_names install/install_Guide.html
74         @cp -f install/install_Guide.html install/index.html
75         @rm -f *.eps *.gif *.jpg install/*.eps  *.old 
76         @rm -f install/idle.png
77         @rm -f install/win32-*.png install/wx-console*.png install/xp-*.png
78         @rm -f install/*.pl install/*.log install/*.aux install/*.idx
79         @rm -f install/*.out WARNINGS
80
81 texcheck:
82         ./check_tex.pl install.tex
83
84 main_configs:
85         pic2graph -density 100 <main_configs.pic >main_configs.png
86
87 clean:
88         @rm -f 1 2 3
89         @rm -f *.png *.gif *.jpg *.eps
90         @rm -f *.pdf *.aux *.cp *.fn *.ky *.log *.pg
91         @rm -f *.html *.backup *.pdf *.ps *.dvi *.ilg *.lof *.lot
92         @rm -f *.cdx *.cnd *.ddx *.ddn *.fdx *.fnd *.ind *.sdx *.snd
93         @rm -f *.dnd imagename_translations
94         @rm -f *.old WARNINGS *.out *.toc *.idx
95         @rm -f images.pl labels.pl internals.pl
96         @rm -rf install
97         @rm -f images.tex installi-general.tex
98
99
100 distclean:  clean
101         @rm -f install.html install.pdf