From: Kern Sibbald Date: Sun, 6 Jan 2013 12:22:25 +0000 (+0100) Subject: Tweak .gitignore X-Git-Tag: Release-5.2.13~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e52e77dde7c44205d779c805f9a075e4eb2954d8;p=bacula%2Fdocs Tweak .gitignore --- diff --git a/docs/.gitignore b/docs/.gitignore index 08dbb622..aead2b51 100644 --- a/docs/.gitignore +++ b/docs/.gitignore @@ -1,105 +1,41 @@ -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 index 00000000..99ef251f --- /dev/null +++ b/docs/kernsconfig @@ -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 index 00000000..86725c8f --- /dev/null +++ b/docs/manuals/update_version @@ -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 index 00000000..08983786 --- /dev/null +++ b/docs/upload @@ -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 <