2 # This file is used as the template to create the
3 # Makefile for the Gentoo specific installation.
5 # 22 January 2003 -- Kern Sibbald
6 # and corrected for Gentoo by
7 # Patrick Naubert 25 Jan 2003
9 # for Bacula release @VERSION@ (@DATE@) -- @DISTNAME@
13 INSTALL_PROGRAM = @INSTALL_PROGRAM@
17 install: install-autostart
19 install-autostart: install-autostart-fd install-autostart-sd install-autostart-dir
23 @$(INSTALL) -m 744 bacula-fd $(DESTDIR)/etc/init.d/bacula-fd
27 @$(INSTALL) -m 744 bacula-sd $(DESTDIR)/etc/init.d/bacula-sd
30 install-autostart-dir:
31 @$(INSTALL) -m 744 bacula-dir $(DESTDIR)/etc/init.d/bacula-dir
34 uninstall: uninstall-autostart
36 uninstall-autostart: uninstall-autostart-fd uninstall-autostart-sd uninstall-autostart-dir
38 uninstall-autostart-fd:
39 @rm -f $(DESTDIR)/etc/init.d/bacula-fd
42 uninstall-autostart-sd:
43 @rm -f $(DESTDIR)/etc/init.d/bacula-sd
45 uninstall-autostart-dir:
46 @rm -f $(DESTDIR)/etc/init.d/bacula-dir
52 @rm -f bacula-sd bacula-fd bacula-dir
56 @rm -f bacula-sd bacula-fd bacula-dir