]> git.sur5r.net Git - bacula/bacula/blob - bacula/platforms/slackware/Makefile.in
Phil's code + rework status command
[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 #
11 #  for Bacula release @VERSION@ (@DATE@) -- @DISTNAME@
12 #
13
14 INSTALL = @INSTALL@
15 INSTALL_PROGRAM = @INSTALL_PROGRAM@
16
17 nothing:
18
19 install: install-autostart
20
21 install-autostart: install-autostart-fd install-autostart-sd install-autostart-dir
22
23 install-autostart-fd: install-autostart-rc
24         @$(INSTALL) -m 744 rc.bacula-fd $(DESTDIR)/etc/rc.d/rc.bacula-fd
25
26 install-autostart-sd: install-autostart-rc
27         @$(INSTALL) -m 744 rc.bacula-sd $(DESTDIR)/etc/rc.d/rc.bacula-sd
28
29 install-autostart-dir: install-autostart-rc
30         @$(INSTALL) -m 744 rc.bacula-dir $(DESTDIR)/etc/rc.d/rc.bacula-dir
31
32 install-autostart-rc:
33         @$(INSTALL) -m 744 functions.bacula $(DESTDIR)/etc/rc.d
34         ./add-remove-rc.local.pl -a $(DESTDIR)
35
36
37 uninstall: uninstall-autostart
38
39 uninstall-autostart: uninstall-autostart-fd uninstall-autostart-sd uninstall-autostart-dir
40    
41 uninstall-autostart-fd: uninstall-autostart-rc
42         @rm -f $(DESTDIR)/etc/rc.d/rc.bacula-fd
43
44 uninstall-autostart-sd: uninstall-autostart-rc
45         @rm -f $(DESTDIR)/etc/rc.d/rc.bacula-sd
46
47 uninstall-autostart-dir: uninstall-autostart-rc
48         @rm -f $(DESTDIR)/etc/rc.d/rc.bacula-dir
49
50 uninstall-autostart-rc:
51         @rm -f $(DESTDIR)/etc/rc.d/functions.bacula
52         ./add-remove-rc.local.pl -r $(DESTDIR)
53
54
55 clean:
56         @rm -f rc.bacula-sd rc.bacula-fd rc.bacula-dir
57
58 distclean: clean
59         @rm -f Makefile 
60         @rm -rf CVS
61
62 devclean: clean
63         @rm -f Makefile