# autoconf/Make.common.in -*- Makefile -*-
# release date (man), LSM date, version number/name, current maintainer
-DATE="24 August 2005"
+DATE="07 September 2005"
LSMDATE=@LSMDATE@
-VERSION=1.37.37
+VERSION=1.37.38
VERNAME=bacula-$(VERSION)#
MAINT=Kern Sibbald#
MAINTEMAIL=<kern@sibbald.com>#
uninstall:
# -cd $(mandir); $(RMF) $(manprefix)bacula.$(manext)
-distribution:
+release:
rm -rf bacula-doc-*
mkdir -p bacula-doc-$(VERSION)
cp -ap manual/bacula bacula-doc-$(VERSION)/web-manual
tar cvfz bacula-doc-$(VERSION).tar.gz bacula-doc-$(VERSION)
rm -rf bacula-doc-$(VERSION)
@echo " "
- @echo "Distribution document is in: bacula-doc-$(VERSION).tar.gz"
+ @echo "Release document is in: bacula-doc-$(VERSION).tar.gz"
@echo " "
autoconf/Make.common \
Makefile \
manual/Makefile \
+ manual/update_version \
manual/version.tex \
manual-de/Makefile \
manual-de/version.tex \
[ ]
)
+chmod 766 manual/update_version
echo "
Configuration on `date`:
- ac_config_files="$ac_config_files autoconf/Make.common Makefile manual/Makefile manual/version.tex manual-de/Makefile manual-de/version.tex manual-fr/Makefile manual-fr/version.tex developers/Makefile developers/version.tex bacula-web/Makefile bacula-web/version.tex $PFILES"
+ ac_config_files="$ac_config_files autoconf/Make.common Makefile manual/Makefile manual/update_version manual/version.tex manual-de/Makefile manual-de/version.tex manual-fr/Makefile manual-fr/version.tex developers/Makefile developers/version.tex bacula-web/Makefile bacula-web/version.tex $PFILES"
ac_config_commands="$ac_config_commands default"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
"autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;;
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
"manual/Makefile" ) CONFIG_FILES="$CONFIG_FILES manual/Makefile" ;;
+ "manual/update_version" ) CONFIG_FILES="$CONFIG_FILES manual/update_version" ;;
"manual/version.tex" ) CONFIG_FILES="$CONFIG_FILES manual/version.tex" ;;
"manual-de/Makefile" ) CONFIG_FILES="$CONFIG_FILES manual-de/Makefile" ;;
"manual-de/version.tex" ) CONFIG_FILES="$CONFIG_FILES manual-de/version.tex" ;;
fi
+chmod 766 manual/update_version
echo "
Configuration on `date`:
-1.37.37 (24 August 2005)
+1.37.38 (07 September 2005)
-1.37.37 (24 August 2005)
+1.37.38 (07 September 2005)
+update_version
imagename_translations
developers
developers.html
tex:
+ @./update_version
+ @echo "Making version `cat version.tex`"
@cp -fp ${IMAGES}/hires/*.eps .
@touch baculai-dir.tex baculai-fd.tex baculai-sd.tex \
baculai-console.tex baculai-general.tex
\subsubsection*{Including other Configuration Files}
\index[general]{Including other Configuration Files }
\index[general]{Files!Including other Configuration }
+\index[general]{Using @ to include other files}
+\index[general{@{\bf filename}}
\addcontentsline{toc}{subsubsection}{Including other Configuration Files}
If you wish to break your configuration file into smaller pieces, you can do
--- /dev/null
+#
+# Avoid that @VERSION@ and @DATE@ are changed by configure
+# This file is sourced by update_version
+#
+echo "s%@VERSION@%${VERSION}%g" >${out}
+echo "s%@DATE@%${DATE}%g" >>${out}
a program. This program will be executed on the Director's machine at
the time the Job starts (not when the Director reads the configuration
file), and any output from that program will be assumed to be a list of
- files or directories, one per line, to be included. This allows you to
- have a job that for example includes all the local partitions even if
- you change the partitioning by adding a disk. In general, you will need
+ files or directories, one per line, to be included.
+
+ This allows you to
+ have a job that, for example, includes all the local partitions even if
+ you change the partitioning by adding a disk. The examples
+ below show you how to do this. However, please note two
+ things: 1. if you want the local filesystems, you probably
+ should be using the new {\bf fstype} directive, which was
+ added in version 1.36.3. 2. the exact syntax of the command
+ needed in the examples below is very system dependent. For
+ example, on recent Linux systems, you may need to add the -P
+ option, on FreeBSD systems, the options will be different as
+ well.
+
+ In general, you will need
to prefix your command or commands with a {\bf sh -c} so that they are
invoked by a shell. This will not be the case if you are invoking a
script as in the second example below. Also, you must take care to
--- /dev/null
+#!/bin/sh
+#
+# Script file to update the Bacula version
+#
+out=/tmp/$$
+VERSION=`sed -n -e 's/^.*VERSION.*"\(.*\)"$/\1/p' @bacula@/src/version.h`
+DATE=`sed -n -e 's/^.*[ \t]*BDATE.*"\(.*\)"$/\1/p' @bacula@/src/version.h`
+. ./do_echo
+sed -f ${out} version.tex.in >version.tex
+rm -f ${out}
-1.37.37 (24 August 2005)
+1.37.38 (07 September 2005)