]> git.sur5r.net Git - bacula/bacula/blob - bacula/platforms/solaris/Makefile.in
25f3a97e77b95065f5150a15d669cb2eb93ae49a
[bacula/bacula] / bacula / platforms / solaris / Makefile.in
1
2 # This file is used as the template to create the
3 # Makefile for the Solaris specific installation.
4 #
5 #  15 November 2001 -- Kern Sibbald
6 #
7 #  03 November 2003 corrections to the paths made by
8 #      Kenneth ragnor at virtualsd dot net
9 #
10 #  for Bacula release @VERSION@ (@DATE@) -- @DISTNAME@
11 #
12
13 INSTALL = @INSTALL@
14 INSTALL_PROGRAM = @INSTALL_PROGRAM@
15
16 nothing:
17
18 install: install-autostart
19
20 install-autostart: install-autostart-fd install-autostart-sd install-autostart-dir
21
22 install-autostart-%:
23         @rm -f $(DESTDIR)/etc/rc0.d/K20bacula-$*
24         @rm -f $(DESTDIR)/etc/rc1.d/S99bacula-$*
25         @rm -f $(DESTDIR)/etc/rc2.d/S99bacula-$*
26         @$(INSTALL_PROGRAM) -m 744 bacula-$* $(DESTDIR)/etc/init.d/bacula-$*
27         # set symlinks for script at startup and shutdown
28         @ln -f -s /etc/init.d/bacula-$* $(DESTDIR)/etc/rc0.d/K20bacula-$*
29         @ln -f -s /etc/init.d/bacula-$* $(DESTDIR)/etc/rc1.d/S99bacula-$*
30         @ln -f -s /etc/init.d/bacula-$* $(DESTDIR)/etc/rc2.d/S99bacula-$*
31
32 uninstall: uninstall-autostart
33
34 uninstall-autostart: uninstall-autostart-fd uninstall-autostart-sd uninstall-autostart-dir
35
36 uninstall-autostart-%:
37         @rm -f $(DESTDIR)/etc/rc0.d/K20bacula-$*
38         @rm -f $(DESTDIR)/etc/rc1.d/S99bacula-$*
39         @rm -f $(DESTDIR)/etc/rc2.d/S99bacula-$*
40         @rm -f $(DESTDIR)/etc/init.d/bacula-$*
41
42 clean:
43         @rm -f 1 2 3
44
45 distclean: clean
46         @rm -f bacula-sd bacula-fd bacula-dir
47         @rm -f Makefile bacula-*.spec
48
49 devclean: clean
50         @rm -f bacula-sd bacula-fd bacula-dir
51         @rm -f Makefile bacula-*.spec