]> git.sur5r.net Git - bacula/docs/blob - docs/manuals/en/developers/web.makefile
Improve some text
[bacula/docs] / docs / manuals / en / developers / web.makefile
1 IMAGES=../../../../images
2 DOC=developers
3 MAINDOC=Developer_s_Guide.html
4 #
5 # Web documentation generation
6 HTML_TITLE="Developer's Guide"
7 HTML_DEPTH=3
8 HTML_TITLES=6
9 HTML_VERSION=4.0
10 LATEX_TO_HTML=latex2html -split ${HTML_DEPTH} -local_icons -t ${HTML_TITLE} -long_titles ${HTML_TITLES} -toc_stars -contents_in_nav -init_file ./latex2html-init.pl -no_antialias -no_antialias_text -white -notransparent ${DOC} -html_version ${HTML_VERSION} >tex.out 2>&1
11
12 .SUFFIXES:     .tex .html
13 .PHONY:
14 .DONTCARE:
15
16
17 first_rule: all
18
19 all: web clean
20
21 pngimages:
22         @echo "PNG images"
23         @echo -n "Generating PNG images..."
24         @(cd ${IMAGES}/svg ; make png)
25         @echo "Done."
26         @echo -n "Linking png images..."
27         @(for F in $(IMAGES)/*.png ;\
28         do \
29         ln -sf $$F ./`basename $$F`; \
30         done)
31         @(for F in $(IMAGES)/png/*.png ;\
32         do \
33         ln -sf $$F ./`basename $$F`; \
34         done)
35         @echo "Done."
36         @echo "PNG done."
37
38 clean:
39         @echo -n "Cleaning..."
40         @find . -type l -iname "*.png" -exec rm -f {} \;
41         @echo "Done."
42
43 web: pngimages
44         @echo "Making web"
45         @rm -f  next.png  prev.png  up.png
46         @rm -f ${DOC}/xp-*.png
47         @rm -f  ${DOC}/next.png  ${DOC}/prev.png  ${DOC}/up.png
48         @${LATEX_TO_HTML}
49         @cp -f ${DOC}/${MAINDOC} ${DOC}/index.html
50         @echo "Done making web"