]> git.sur5r.net Git - bacula/bacula/blob - gui/Makefile
commit changes
[bacula/bacula] / gui / Makefile
1
2 # gui Makefile.in
3 #
4 # Version $Id$
5
6
7 # autoconf/Make.common.in        -*- Makefile -*-
8 # release date (man), LSM date, version number/name, current maintainer
9 DATE="18 January 2006"
10 LSMDATE=@LSMDATE@
11 VERSION=1.38.5
12 VERNAME=bacula-$(VERSION)#
13 MAINT=Kern Sibbald#
14 MAINTEMAIL=<kern@sibbald.com>#
15 #-------------------------------------------------------------------------
16
17 SHELL = /bin/sh
18
19 # Installation target directories & other installation stuff
20 prefix = /usr/local
21 exec_prefix = ${prefix}
22 binprefix =
23 manprefix =
24 sbindir = ${exec_prefix}/sbin
25 sysconfdir = ${prefix}/etc
26 scriptdir = @scriptdir@
27 mandir = ${prefix}/man/man1
28 manext = 1
29
30 # Tools & program stuff
31 MV = /bin/mv
32 RM = /bin/rm
33 RMF = /bin/rm -f
34 CP = /bin/cp
35 SED = @SED@
36 AWK = /usr/bin/gawk
37 ECHO = /bin/echo
38 CMP = @CMP@
39 INSTALL = /usr/bin/install -c
40 # add the -s to the following in PRODUCTION mode
41 INSTALL_PROGRAM = /usr/bin/install -c -m @SBINPERM@
42 INSTALL_DATA = /usr/bin/install -c -m 644
43 INSTALL_SCRIPT = /usr/bin/install -c -m @SBINPERM@
44 INSTALL_CONFIG = /usr/bin/install -c -m 640
45
46
47 # End of common section of the Makefile
48 #-------------------------------------------------------------------------
49
50 srcdir =        .
51
52 .PATH:          .
53 topdir = .
54 thisdir = .
55
56
57 first_rule: all
58 dummy:
59
60 MKDIR = $(topdir)/autoconf/mkinstalldirs
61
62 #-------------------------------------------------------------------------
63
64 all: Makefile
65
66
67 depend:
68         
69
70 #-------------------------------------------------------------------------
71
72
73 install:
74
75 uninstall:
76
77 configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/acconfig.h autoconf/config.h.in
78         cd $(srcdir);
79         ${RMF} -f config.cache config.log config.out config.status src/config.h
80         autoconf --prepend-include=$(srcdir)/autoconf \
81         autoconf/configure.in > configure
82         chmod 755 configure
83
84 Makefile: Makefile.in
85         cd $(topdir) \
86             && CONFIG_FILES=$(thisdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
87
88 Makefiles:
89         $(SHELL) config.status
90
91 clean:
92         @$(RMF) *~ 1 2 3 diff */diff  *.tar.gz
93         @$(RMF) config.log config.out config.status
94         @rm -rf autom4te.cache
95
96 # clean for distribution
97 distclean: clean
98         @$(RMF) -rf CVS
99
100 devclean: clean
101         @for subdir in freebsd linux solaris; do \
102             if [ -f $${subdir}/Makefile ]; then \
103                      (cd $${subdir}; $(MAKE) devclean) \
104             fi; \
105
106 release-bacula-web:
107         (cwd=`pwd`; rm -rf /tmp/bacula-web-$(VERSION); \
108           cd ..; cp -rp $$cwd/bacula-web /tmp/bacula-web-$(VERSION); \
109           cd /tmp/bacula-web-$(VERSION); \
110           make clean; \
111           find . -name ".#*" -exec rm -rf {} \; ; \
112           find . -name "CVS" -exec rm -rf {} \; ; \
113           find . -name ".cvsignore" -exec rm -rf {} \; ; \
114           rm -rf autom4te.cache; \
115           cd ..; \
116           tar cvfz $$cwd/bacula-web-$(VERSION).tar.gz bacula-web-$(VERSION); \
117           rm -rf /tmp/bacula-web-$(VERSION); \
118           echo " "; \
119           echo "bacula-web release is in: $$cwd/bacula-web-$(VERSION).tar.gz"; \
120           echo " ")
121
122 release-bimagemgr:
123         (cwd=`pwd`; rm -rf /tmp/bimagemgr-$(VERSION); \
124           cd ..; cp -rp $$cwd/bimagemgr /tmp/bimagemgr-$(VERSION); \
125           cd /tmp/bimagemgr-$(VERSION); \
126           make clean; \
127           find . -name ".#*" -exec rm -rf {} \; ; \
128           find . -name "CVS" -exec rm -rf {} \; ; \
129           find . -name ".cvsignore" -exec rm -rf {} \; ; \
130           rm -rf autom4te.cache; \
131           cd ..; \
132           tar cvfz $$cwd/bimagemgr-$(VERSION).tar.gz bimagemgr-$(VERSION); \
133           rm -rf /tmp/bimagemgr-$(VERSION); \
134           echo " "; \
135           echo "bimagemgr release is in: $$cwd/bimagemgr-$(VERSION).tar.gz"; \
136           echo " ")
137
138 release: clean release-bacula-web release-bimagemgr
139
140 # ------------------------------------------------------------------------