X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=gui%2FMakefile;h=dea06c09c6ce8c8fdfe33f14abedb77458c3d65d;hb=bd1c8d42efb352759571fd409ff947bcb937f25a;hp=ef81315d9216943cb301cf89b28e597ea23119b1;hpb=61ec82120dee517f91054ce18d0d4637931d02e8;p=bacula%2Fbacula diff --git a/gui/Makefile b/gui/Makefile index ef81315d92..dea06c09c6 100644 --- a/gui/Makefile +++ b/gui/Makefile @@ -6,9 +6,9 @@ # autoconf/Make.common.in -*- Makefile -*- # release date (man), LSM date, version number/name, current maintainer -DATE="@DATE@" +DATE="26 January 2007" LSMDATE=@LSMDATE@ -VERSION=@VERSION@ +VERSION=2.0.2 VERNAME=bacula-$(VERSION)# MAINT=Kern Sibbald# MAINTEMAIL=# @@ -89,15 +89,84 @@ Makefiles: $(SHELL) config.status clean: - @$(RMF) *~ 1 2 3 + @$(RMF) *~ 1 2 3 diff */diff *.tar.gz + @$(RMF) config.log config.out config.status + @rm -rf autom4te.cache # 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-bacula-web: + (cwd=`pwd`; rm -rf /tmp/bacula-web-$(VERSION); \ + cd ..; cp -rp $$cwd/bacula-web /tmp/bacula-web-$(VERSION); \ + cd /tmp/bacula-web-$(VERSION); \ + make clean; \ + find . -name ".#*" -exec rm -rf {} \; ; \ + find . -name "CVS" -exec rm -rf {} \; ; \ + find . -name ".cvsignore" -exec rm -rf {} \; ; \ + rm -rf autom4te.cache; \ + cd ..; \ + tar cvfz $$cwd/bacula-web-$(VERSION).tar.gz bacula-web-$(VERSION); \ + rm -rf /tmp/bacula-web-$(VERSION); \ + echo " "; \ + echo "bacula-web release is in: $$cwd/bacula-web-$(VERSION).tar.gz"; \ + echo " ") + +release-bimagemgr: + (cwd=`pwd`; rm -rf /tmp/bimagemgr-$(VERSION); \ + cd ..; cp -rp $$cwd/bimagemgr /tmp/bimagemgr-$(VERSION); \ + cd /tmp/bimagemgr-$(VERSION); \ + make clean; \ + find . -name ".#*" -exec rm -rf {} \; ; \ + find . -name "CVS" -exec rm -rf {} \; ; \ + find . -name ".cvsignore" -exec rm -rf {} \; ; \ + rm -rf autom4te.cache; \ + cd ..; \ + tar cvfz $$cwd/bimagemgr-$(VERSION).tar.gz bimagemgr-$(VERSION); \ + rm -rf /tmp/bimagemgr-$(VERSION); \ + echo " "; \ + echo "bimagemgr release is in: $$cwd/bimagemgr-$(VERSION).tar.gz"; \ + echo " ") + +release-brestore: + (cwd=`pwd`; rm -rf /tmp/brestore-$(VERSION); \ + cd ..; cp -rp $$cwd/brestore /tmp/brestore-$(VERSION); \ + cd /tmp/brestore-$(VERSION); \ + make clean; \ + find . -name ".#*" -exec rm -rf {} \; ; \ + find . -name "CVS" -exec rm -rf {} \; ; \ + find . -name ".cvsignore" -exec rm -rf {} \; ; \ + rm -rf autom4te.cache; \ + cd ..; \ + tar cvfz $$cwd/brestore-$(VERSION).tar.gz brestore-$(VERSION); \ + rm -rf /tmp/brestore-$(VERSION); \ + echo " "; \ + echo "brestore release is in: $$cwd/brestore-$(VERSION).tar.gz"; \ + echo " ") + +release-bweb: + (cwd=`pwd`; rm -rf /tmp/bweb-$(VERSION); \ + cd ..; cp -rp $$cwd/bweb /tmp/bweb-$(VERSION); \ + cd /tmp/bweb-$(VERSION); \ + make clean; \ + find . -name ".#*" -exec rm -rf {} \; ; \ + find . -name "CVS" -exec rm -rf {} \; ; \ + find . -name ".cvsignore" -exec rm -rf {} \; ; \ + rm -rf autom4te.cache; \ + cd ..; \ + tar cvfz $$cwd/bweb-$(VERSION).tar.gz bweb-$(VERSION); \ + rm -rf /tmp/bweb-$(VERSION); \ + echo " "; \ + echo "bweb release is in: $$cwd/bweb-$(VERSION).tar.gz"; \ + echo " ") + +release: clean release-bacula-web release-bimagemgr release-brestore release-bweb + # ------------------------------------------------------------------------