]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/Makefile
ebl first add
[bacula/bacula] / gui / Makefile
index cd1c5ef9cb86b5583e0d5269fd1e4502c19832b5..a026ecc2c6f7dc6ee1e69615421c1077cda9bba1 100644 (file)
@@ -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="18 January 2006"
 LSMDATE=@LSMDATE@
-VERSION=1.7.0
+VERSION=1.38.5
 VERNAME=bacula-$(VERSION)#
 MAINT=Kern Sibbald#
 MAINTEMAIL=<kern@sibbald.com>#
@@ -81,19 +81,60 @@ configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/acconfig.h autocon
        autoconf/configure.in > configure
        chmod 755 configure
 
+Makefile: Makefile.in
+       cd $(topdir) \
+           && CONFIG_FILES=$(thisdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+
 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: clean release-bacula-web release-bimagemgr
+
 # ------------------------------------------------------------------------