2 # Copyright (C) 2000-2015 Kern Sibbald
3 # License: BSD 2-Clause; see file LICENSE-FOSS
5 # This file is used as the template to create the
6 # Makefile for the Tru64 specific installation.
8 # 28 May 2004 -- Kern Sibbald
10 # for Bacula release @VERSION@ (@DATE@) -- @DISTNAME@
14 INSTALL_PROGRAM = @INSTALL_PROGRAM@
18 install: install-autostart
20 install-autostart: install-autostart-fd
24 @rm -f /sbin/rc0.d/K20bacula-fd
25 @rm -f /sbin/rc3.d/S99bacula-fd
26 @$(INSTALL_PROGRAM) -m 744 bacula-fd /sbin/init.d/bacula-fd
27 # set symlinks for script at startup and shutdown
28 @ln -f -s /sbin/init.d/bacula-fd /sbin/rc0.d/K20bacula-fd
29 @ln -f -s /sbin/init.d/bacula-fd /sbin/rc3.d/S99bacula-fd
32 uninstall: uninstall-autostart
34 uninstall-autostart: uninstall-autostart-fd
36 uninstall-autostart-fd:
37 @rm -f /sbin/rc0.d/K20bacula-fd
38 @rm -f /sbin/rc3.d/S99bacula-fd
39 @rm -f /sbin/init.d/bacula-fd