# clean for distribution
distclean: clean
- @$(RMF) -r CVS
+ @$(RMF) -rf CVS
devclean: clean
@for subdir in freebsd linux solaris; do \
if [ -f $${subdir}/Makefile ]; then \
(cd $${subdir}; $(MAKE) devclean) \
fi; \
+
+release: clean
+ (cwd=`pwd`; rm -rf /tmp/bacula-gui-$(VERSION); \
+ cd ..; cp -rp $$cwd /tmp/bacula-gui-$(VERSION); \
+ cd /tmp; \
+ tar cvfz $$cwd/bacula-gui-$(VERSION).tar.gz bacula-gui-$(VERSION); \
+ rm -rf /tmp/bacula-gui-$(VERSION); \
+ echo " "; \
+ echo "Release is in: $$cwd/bacula-gui-$(VERSION).tar.gz"; \
+ echo " ")
+
# ------------------------------------------------------------------------
--- /dev/null
+
+This is the Bacula GUI directory. It contains graphical tools for
+Bacula, and consists of the following subdirectories:
+
+ Directory Contents
+ bacula-web A management level tool for reporting Backup
+ job status. It is a Web based application that
+ uses php.
+ bimagemgr A web based tool for managing and burning CD
+ images of Volumes created by Bacula.
+
+Build instructions:
+
+First, you must do:
+
+ cd <gui>
+ ./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
+
+For bacula-web:
+ cd bacula-web
+ examine the README
+ or alternatively use the html document released as
+ bacula-docs-nn.mm.xx.tar.gz
+
+For bimagemgr:
+ There are a number of additional configuration options that
+ you may specify on the ./configure line shown above. To see
+ them enter: ./configure --help
+ cd bimagemgr
+ make
+ make install
+ ...
+
+To create a distribution tar file (NOT YET IMPLEMENTED!!!!!)
+ cd <gui>
+ ./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-gui-<version>.tar.gz
+ It will print the name.