$(SHELL) config.status
clean:
- @$(RMF) *~ 1 2 3
+ @$(RMF) *~ 1 2 3 diff
+ @$(RMF) config.log config.out config.status
+ @rm -rf autom4te.cache
+ @rm -rf bacula-rescue-$(VERSION).tar.gz
+ @for subdir in freebsd linux solaris; do \
+ if [ -f $${subdir}/Makefile ]; then \
+ (cd $${subdir}; $(MAKE) clean) \
+ fi; \
+ done
# clean for distribution
distclean: clean
if [ -f $${subdir}/Makefile ]; then \
(cd $${subdir}; $(MAKE) devclean) \
fi; \
+ done
+
+release: clean
+ (cwd=`pwd`; rm -rf /tmp/bacula-rescue-$(VERSION); \
+ cd ..; cp -rp $$cwd /tmp/bacula-rescue-$(VERSION); \
+ cd /tmp; \
+ tar cvfz $$cwd/bacula-rescue-$(VERSION).tar.gz bacula-rescue-$(VERSION); \
+ rm -rf /tmp/bacula-rescue-$(VERSION); \
+ echo " "; \
+ echo "Release is in: $$cwd/bacula-rescue-$(VERSION).tar.gz"; \
+ echo " ")
+
# ------------------------------------------------------------------------
--- /dev/null
+
+This is the Bacula CDROM rescue directory. It currently contains
+the following subdirectories:
+
+ Directory Contents
+ autoconf Configuration files
+ freebsd The FreeBSD rescue code (not much)
+ linux The Linux rescue code -- working
+ cdrom The Linux CDROM rescue code -- working
+ floppy The Linux Floppy rescue code deprecated,
+ probably not working.
+ solaris The Solaris rescue code (not much)
+
+Build instructions:
+
+First, you must configure with:
+
+ cd <rescue>
+ ./configure --with-bacula=<path-to-bacula-source>
+
+ This will find the current Bacula version, and create
+ all the Makefiles from Makefile.in
+
+ Do not edit the Makefiles or your changes will be lost. Always
+ edit Makefile.in
+
+ There is also a --with-iso=<iso-image> option on configure
+ that allows you to specify a location of an ISO image that
+ already exists, presumably built by your Linux vendor.
+ This option permits remastering of that image and including
+ the Bacula files. However, this work is incomplete, and I am
+ a bit unsure what its state it.
+
+To actually build the CDROM (Linux only):
+
+ cd <bacula-source>
+
+ (configure and make your Bacula distribution, if
+ you have not already done this.
+ !!!!!!! Important !!!!!!!!!!
+ You should not configure OpenSSL because there are
+ no static libraries for some of the components. The
+ same may be true for Python
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!)
+
+ cd rescue/linux/cdrom
+ (read the README in this directory)
+ (become root)
+ make
+ make burn
+ make clean
+ (optionally, you might want to cd to your Bacula
+ source directory and do a "make clean" to remove
+ any files created by root)
+ (become normal user)
+
+ See the README in linux/cdrom for more detailed information
+ on possible modifications for your site or more of the
+ details of building the CDROM.
+
+ The documentation for actually using the CDROM can be found
+ in the Rescue chapter of the Bacula manual.
+
+
+To create a distribution tar file:
+ cd <docs>
+ ./configure --with-bacula=<bacula-source-directory>
+ make clean
+ make
+ make release
+
+ The output will be a .tar.gz file in the current directory
+ with the name bacula-doc-<version>.tar.gz
+ It will print the name.