2 # This file is used as the template to create the
3 # Makefile for the Slackware specific installation.
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
13 # for Bacula release @VERSION@ (@DATE@) -- @DISTNAME@
17 INSTALL_PROGRAM = @INSTALL_PROGRAM@
21 install: install-autostart
23 install-autostart: install-autostart-fd install-autostart-sd install-autostart-dir
25 install-autostart-fd: install-autostart-rc
26 @$(INSTALL) -m 744 rc.bacula-fd $(DESTDIR)/etc/rc.d/rc.bacula-fd
28 install-autostart-sd: install-autostart-rc
29 @$(INSTALL) -m 744 rc.bacula-sd $(DESTDIR)/etc/rc.d/rc.bacula-sd
31 install-autostart-dir: install-autostart-rc
32 @$(INSTALL) -m 744 rc.bacula-dir $(DESTDIR)/etc/rc.d/rc.bacula-dir
35 @$(INSTALL) -m 744 functions.bacula $(DESTDIR)/etc/rc.d
36 sh ./local-install.sh install $(DESTDIR)
39 uninstall: uninstall-autostart
41 uninstall-autostart: uninstall-autostart-fd uninstall-autostart-sd uninstall-autostart-dir
43 uninstall-autostart-fd: uninstall-autostart-rc
44 @rm -f $(DESTDIR)/etc/rc.d/rc.bacula-fd
46 uninstall-autostart-sd: uninstall-autostart-rc
47 @rm -f $(DESTDIR)/etc/rc.d/rc.bacula-sd
49 uninstall-autostart-dir: uninstall-autostart-rc
50 @rm -f $(DESTDIR)/etc/rc.d/rc.bacula-dir
52 uninstall-autostart-rc:
53 @rm -f $(DESTDIR)/etc/rc.d/functions.bacula
54 sh ./local-install.sh remove $(DESTDIR)
58 @rm -f rc.bacula-sd rc.bacula-fd rc.bacula-dir