]> git.sur5r.net Git - bacula/docs/commitdiff
Tweak .gitignore
authorKern Sibbald <kern@sibbald.com>
Sun, 6 Jan 2013 12:22:25 +0000 (13:22 +0100)
committerKern Sibbald <kern@sibbald.com>
Sun, 6 Jan 2013 12:22:25 +0000 (13:22 +0100)
docs/.gitignore
docs/kernsconfig [new file with mode: 0755]
docs/manuals/update_version [new file with mode: 0755]
docs/upload [new file with mode: 0755]

index 08dbb6220c6d69aab28058fc98b3cea0c5b1cf1d..aead2b515737a10ad93eae2483e4d8fcf6198d66 100644 (file)
-bsysmanual/external-references.tex
-covers/pdf/*.pdf
-images/eps
-images/pdf
-images/png
-manuals/en/www-console/
-manuals/en/www-developers/
-manuals/en/www-main/
-manuals/en/www-misc/
-manuals/en/www-problems/
-manuals/en/www-utility/
-manuals/en/images/*.png
-tools/
-*.maf
-*.mtc*
-manuals/en/old/*/version.tex
-manuals/en/old/*/bacula.sty
-manuals/en/old/*/update_version
-autom4te.cache
-kernsconfig
-*~
-*.~
-*.lof
-*.lot
-manuals/de/*/*.eps
-manuals/es/*/*.eps
-manuals/*/install/install
-manuals/*/catalog/*.pdf
-manuals/*/*.pdf
-manuals/update_version
-manuals/bacula.sty
-manuals/version.tex
-manuals/*/*.pdf
-manuals/*/concepts/concepts
-manuals/*/console/console
-manuals/*/developers/developers
-manuals/*/catalog/catalog
-manuals/*/*/version.tex
-manuals/*/*/bacula.sty
-manuals/*/*/update_version
-manuals/en/console/coverpage.tex
-manuals/en/console/index.html
-manuals/en/console/upload
-manuals/en/developers/index.html
-manuals/en/developers/upload
-manuals/en/main/index.html
-manuals/en/main/upload
-manuals/en/misc/index.html
-manuals/en/misc/upload
-manuals/en/problems/coverpage.tex
-manuals/en/problems/index.html
-manuals/en/problems/upload
-manuals/en/utility/coverpage.tex
-manuals/en/utility/index.html
-manuals/en/utility/upload
-upload
-version.tex
-images/bs_logo.png
-images/bs_logo.eps
 Makefile
-autoconf/Make.common
-bacula-web/Makefile
-bacula-web/version.tex
-config.log
-config.out
-config.status
-manuals/bacula.sty
-manuals/en/*/*.eps
-*.aux
-*.cdx
-*.cnd
-*.ddx
-*.dnd
+*/Makefile
+*.sty
 *.dvi
-*.fdx
-*.fnd
 *.idx
-*.ilg
-*.ind
-*.log
-*.out
-*.sdx
-*.snd
+*.maf
 *.toc
-manuals/en/*.sty
-manuals/*/install/installi-*.tex
-manuals/*/catalog/catalogi-*.tex
-manuals/*/concepts/concepts.pdf
-manuals/*/concepts/conceptsi-*.tex
+*.mtc*
+*/version.tex
+manuals/en/*/version.tex
+manuals/*/*/version.tex
+manuals/*/utility/utilityi*
+manuals/*/misc/misci*
+images/pdf
+images/png
+images/svg
+images/eps
+covers
+manuals/*/console/consolei*
+manuals/*/developers/developersi*
+manuals/*/main/maini*
+manuals/*/www-*
+tools/wholemenu_*
+config.*
+autoconf/Make.common
+autom4te.cache
 manuals/*/console/console.pdf
-manuals/*/console/consolei-*.tex
-manuals/*/developers/developersi-*.tex
+manuals/*/console/console/
 manuals/*/developers/developers.pdf
-manuals/*/misc/misci-*.tex
-manuals/*/misc/misc.pdf
-manuals/*/misc/misc/
-manuals/*/main/maini-*.tex
+manuals/*/developers/developers/
 manuals/*/main/main.pdf
 manuals/*/main/main/
-manuals/*/install/install.pdf
+manuals/*/misc/misc.pdf
+manuals/*/misc/misc/
 manuals/*/problems/problems.pdf
 manuals/*/problems/problems/
 manuals/*/utility/utility.pdf
 manuals/*/utility/utility/
-manuals/*/utility/utilityi-*.tex
+version.tex
+bsysmanual
+manuals/en/images
diff --git a/docs/kernsconfig b/docs/kernsconfig
new file mode 100755 (executable)
index 0000000..99ef251
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+./configure --with-bacula=${HOME}/bacula/k/bacula
+manuals/update_version
diff --git a/docs/manuals/update_version b/docs/manuals/update_version
new file mode 100755 (executable)
index 0000000..86725c8
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# Script file to update the Bacula version
+#
+out=/tmp/$$
+VERSION=`sed -n -e 's/^#define VERSION.*"\(.*\)"$/\1/p' /home/kern/bacula/k/bacula/src/version.h`
+DATE=`sed -n -e 's/^#define BDATE.*"\(.*\)"$/\1/p' /home/kern/bacula/k/bacula/src/version.h`
+. /home/kern/bacula/docs/docs/manuals/do_echo
+sed -f ${out} /home/kern/bacula/docs/docs/manuals/version.tex.in >version.tex
+rm -f ${out}
diff --git a/docs/upload b/docs/upload
new file mode 100755 (executable)
index 0000000..0898378
--- /dev/null
@@ -0,0 +1,41 @@
+#!/bin/sh
+if [ $# != 1 ] ; then
+  echo "First argument must be language, e.g.: send en|es|de|fr"
+  echo " "
+  exit 1
+fi
+cwd=`pwd`
+lang=$1
+src=$cwd/manuals/${lang}
+ver=5.2.12
+repo=release
+
+echo "ver=${ver}"
+
+# sendit src dest
+sendit()
+{
+  for i in console developers main misc problems utility; do
+    echo " "
+    echo "Sending: $1/$i"
+    echo "To:      $2/$i"
+    rsync -avz --delete --progress $1/$i/        $2/$i/
+    rsync -avz --delete --progress $1/$i/$i.pdf  $2/$i/
+  done
+}
+
+dest=bacula:/var/www/bacula/5.2.x-manuals/${lang}
+echo "Sending to $dest"
+sendit $src $dest
+
+dest=bsweb:/var/www/docs/5.2.x-manuals/${lang}
+echo "Sending to $dest"
+sendit $src $dest
+
+destdir=/home/frs/repo/htmldocs/${lang}/${ver}
+dest=bsweb:${destdir}
+ssh bsweb <<EOF
+mkdir -p ${destdir}
+EOF
+echo "Sending to $dest"
+sendit $src $dest