X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=gui%2FMakefile;h=dea06c09c6ce8c8fdfe33f14abedb77458c3d65d;hb=fb684092f93108e0cccf3b2b0f383767ea9d28c4;hp=aa9b5a88404d224f8023ce714348423de920e23c;hpb=ecd4b41362ce54099429c4172df9c9ada1741153;p=bacula%2Fbacula diff --git a/gui/Makefile b/gui/Makefile index aa9b5a8840..dea06c09c6 100644 --- a/gui/Makefile +++ b/gui/Makefile @@ -4,11 +4,11 @@ # Version $Id$ # -# autoconf/Make.common.in -*- Makefile -*- +# autoconf/Make.common.in -*- Makefile -*- # release date (man), LSM date, version number/name, current maintainer -DATE="19 May 2005" +DATE="26 January 2007" LSMDATE=@LSMDATE@ -VERSION=1.7.0 +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 + # ------------------------------------------------------------------------