]> git.sur5r.net Git - bacula/docs/blob - docs/bacula-web/Makefile.in
Add README file to the manuals directory.
[bacula/docs] / docs / bacula-web / Makefile.in
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}/*.eps .
29         @cp -fp ${IMAGES}/hires/*.eps .
30         touch bacula-web.idx bacula-webi-general.tex
31         -latex -interaction=batchmode bacula-web.tex
32         makeindex bacula-web.idx >/dev/null 2>/dev/null
33         -latex -interaction=batchmode bacula-web.tex
34
35 pdf:
36         @echo "Making bacula-web pdf manual"
37         @cp -fp ${IMAGES}/*.eps .
38         @cp -fp ${IMAGES}/hires/*.eps .
39         dvipdf bacula-web.dvi bacula-web.pdf
40         @rm -f *.eps *.old
41
42 dvipdf:
43         @echo "Making bacula-web pdfm"
44         @cp -fp ${IMAGES}/*.eps .
45         @cp -fp ${IMAGES}/hires/*.eps .
46         dvipdfm -p a4 bacula-web.dvi
47         @rm -f *.eps *.old
48
49 html:
50         @echo "Making bacula-web html manual"
51         @cp -fp ${IMAGES}/*.eps .
52         @cp -fp ${IMAGES}/hires/*.eps .
53         @rm -f next.eps next.png prev.eps prev.png up.eps up.png
54         @(if [ -e imagename_translations ] ; then \
55             ./translate_images.pl --from_meaningful_names bacula-web.html; \
56          fi)
57         latex2html -white -no_subdir -split 0 -toc_stars -white -notransparent \
58                 -init_file latex2html-init.pl bacula-web >tex.out 2>&1
59         ./translate_images.pl --to_meaningful_names bacula-web.html
60         @rm -f *.gif *.jpg *.old
61
62 web:
63         @echo "Making bacula-web web manual"
64         @mkdir -p bacula-web
65         @rm -f bacula-web/*
66         @cp -fp ${IMAGES}/*.eps .
67         @rm -f next.eps next.png prev.eps prev.png up.eps up.png
68         @cp -fp ${IMAGES}/*.eps ${IMAGES}/*.png bacula-web/
69         @rm -f bacula-web/next.eps bacula-web/next.png bacula-web/prev.eps bacula-web/prev.png bacula-web/up.eps bacula-web/up.png
70         @(if [ -e bacula-web/imagename_translations ] ; then \
71            ./translate_images.pl --to_meaningful_names bacula-web/Bacula_Users_Guide.html; \
72          fi)
73         @rm -rf bacula-web/*.html
74         latex2html -split 4 -local_icons -t "Bacula-web Guide" -long_titles 4 \
75                 -contents_in_nav -toc_stars -white -notransparent bacula-web >/dev/null
76         ./translate_images.pl --to_meaningful_names bacula-web/Bacula_web_Guide.html
77         @cp -f bacula-web/Bacula_web_Guide.html bacula-web/index.html
78         @rm -f *.gif *.jpg bacula-web/*.eps  *.old
79
80 texcheck:
81         ./check_tex.pl bacula-web.tex
82
83 main_configs:
84         pic2graph -density 100 <main_configs.pic >main_configs.png
85
86 clean:
87         @rm -f 1 2 3
88         @rm -f *.png *.gif *.jpg *.eps
89         @rm -f *.pdf *.aux *.cp *.fn *.ky *.log *.pg
90         @rm -f *.html *.backup *.pdf *.ps *.dvi *.ilg *.lof *.lot
91         @rm -f *.cdx *.cnd *.ddx *.ddn *.fdx *.fnd *.ind *.sdx *.snd
92         @rm -f *.dnd imagename_translations
93         @rm -f *.old WARNINGS *.out *.toc *.idx
94         @rm -f images.pl labels.pl internals.pl
95         @rm -rf bacula-web
96         @rm -f images.tex bacula-webi-general.tex
97
98
99 distclean: clean
100         @rm -f images.tex bacula-webi-general.tex
101         @rm -f version.tex Makefile