From 18e1fdd64ed56228ab34a85fa3b7d70b00c1cbc7 Mon Sep 17 00:00:00 2001 From: Philippe Chauvat Date: Fri, 14 Dec 2012 12:15:28 +0100 Subject: [PATCH] All manuals clear and "buildable". Send utility updated. Everything tested. Be careful: on archlinux HTML for main should require -html_version 3.2 to build --- docs/manuals/en/main/web.makefile | 4 ++-- docs/send | 18 ++++++++++++++---- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/docs/manuals/en/main/web.makefile b/docs/manuals/en/main/web.makefile index 1066f842..e617e3d8 100644 --- a/docs/manuals/en/main/web.makefile +++ b/docs/manuals/en/main/web.makefile @@ -79,9 +79,9 @@ web: commonfiles epsimages pngimages @rm -f next.eps next.png prev.eps prev.png up.eps up.png @rm -f ${DOC}/xp-*.png @rm -f ${DOC}/next.eps ${DOC}/next.png ${DOC}/prev.eps ${DOC}/prev.png ${DOC}/up.eps ${DOC}/up.png - latex2html -split 3 -local_icons -t "Bacula Main Reference" -long_titles 4 \ + latex2html -split 3 -local_icons -t "Bacula Main Reference" -long_titles 6 \ -toc_stars -contents_in_nav -init_file latex2html-init.pl \ - -no_antialias -no_antialias_text -html_version 3.2\ + -no_antialias -no_antialias_text \ -white -notransparent ${DOC} >tex.out 2>&1 @(if [ -f imagename_translations ] ; then \ ./translate_images.pl --from_meaningful_names $(MAINDOC).html; \ diff --git a/docs/send b/docs/send index 8b246e73..720408e9 100755 --- a/docs/send +++ b/docs/send @@ -11,8 +11,13 @@ src=$cwd/manuals/${lang} dest=bacula:/var/www/bacula/6.0.x-manuals/${lang} echo "Sending to $dest" - -for i in console developers main misc problems utility css js images; do +for i in css js images; do + echo " " + echo "Sending: $src/$i" + echo "To: $dest/$i" + rsync -avz --delete --progress -e ssh $src/$i/ $dest/$i/ +done +for i in console developers main misc problems utility; do echo " " echo "Sending: $src/$i" echo "To: $dest/$i" @@ -22,8 +27,13 @@ done dest=bsweb:/var/www/docs/6.0.x-manuals/${lang} echo "Sending to $dest" - -for i in console developers main misc problems utility css js images ; do +for i in css js images; do + echo " " + echo "Sending: $src/$i" + echo "To: $dest/$i" + rsync -avz --delete --progress -e ssh $src/$i/ $dest/$i/ +done +for i in console developers main misc problems utility; do echo " " echo "Sending: $src/$i" echo "To: $dest/$i" -- 2.39.5