]> git.sur5r.net Git - bacula/bacula/blob - bacula/platforms/slackware/Makefile.in
Fix compiler warning.
[bacula/bacula] / bacula / platforms / slackware / Makefile.in
1
2 # This file is used as the template to create the
3 # Makefile for the Slackware specific installation.
4 #
5 #  22 January 2003 -- Kern Sibbald
6 # and corrected for Gentoo by
7 #  Patrick Naubert 25 Jan 2003
8 # and reworked for Slackware by
9 #  Matt Howard 09 Mar 2004
10 # further reworked for Slackware without Perl dependency by
11 #  Phil Stracchino 13 Mar 2004
12 #
13 #  for Bacula release @VERSION@ (@DATE@) -- @DISTNAME@
14 #
15
16 INSTALL = @INSTALL@
17 INSTALL_PROGRAM = @INSTALL_PROGRAM@
18
19 nothing:
20
21 install: install-autostart
22
23 install-autostart: install-autostart-fd install-autostart-sd install-autostart-dir
24
25 install-autostart-fd: install-autostart-rc
26         @$(INSTALL) -m 744 rc.bacula-fd $(DESTDIR)/etc/rc.d/rc.bacula-fd
27
28 install-autostart-sd: install-autostart-rc
29         @$(INSTALL) -m 744 rc.bacula-sd $(DESTDIR)/etc/rc.d/rc.bacula-sd
30
31 install-autostart-dir: install-autostart-rc
32         @$(INSTALL) -m 744 rc.bacula-dir $(DESTDIR)/etc/rc.d/rc.bacula-dir
33
34 install-autostart-rc:
35         @$(INSTALL) -m 744 functions.bacula $(DESTDIR)/etc/rc.d
36         sh ./local-install.sh install $(DESTDIR)
37
38
39 uninstall: uninstall-autostart
40
41 uninstall-autostart: uninstall-autostart-fd uninstall-autostart-sd uninstall-autostart-dir
42    
43 uninstall-autostart-fd: uninstall-autostart-rc
44         @rm -f $(DESTDIR)/etc/rc.d/rc.bacula-fd
45
46 uninstall-autostart-sd: uninstall-autostart-rc
47         @rm -f $(DESTDIR)/etc/rc.d/rc.bacula-sd
48
49 uninstall-autostart-dir: uninstall-autostart-rc
50         @rm -f $(DESTDIR)/etc/rc.d/rc.bacula-dir
51
52 uninstall-autostart-rc:
53         @rm -f $(DESTDIR)/etc/rc.d/functions.bacula
54         sh ./local-install.sh remove $(DESTDIR)
55
56
57 clean:
58         @rm -f 1 2 3
59
60 distclean: clean
61         @rm -f rc.bacula-sd rc.bacula-fd rc.bacula-dir
62         @rm -f Makefile 
63
64 devclean: clean
65         @rm -f rc.bacula-sd rc.bacula-fd rc.bacula-dir
66         @rm -f Makefile