xref: /titanic_41/usr/src/grub/grub-0.97/docs/Makefile.solaris (revision 1b8adde7ba7d5e04395c141c5400dc2cffd7d809)
1*1b8adde7SWilliam Kucharski#
2*1b8adde7SWilliam Kucharski# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3*1b8adde7SWilliam Kucharski# Use is subject to license terms.
4*1b8adde7SWilliam Kucharski#
5*1b8adde7SWilliam Kucharski# ident	"%Z%%M%	%I%	%E% SMI"
6*1b8adde7SWilliam Kucharski#
7*1b8adde7SWilliam Kucharskiinclude ../../Makefile.grub
8*1b8adde7SWilliam Kucharskiinclude ../Makefile.solaris.defs
9*1b8adde7SWilliam Kucharski
10*1b8adde7SWilliam Kucharski
11*1b8adde7SWilliam Kucharski# Install these only if the OPTION_DOCS option is on (blank).
12*1b8adde7SWilliam Kucharski$(OPTION_DOCS)MAN1_FILES	= mbchk.1
13*1b8adde7SWilliam Kucharski
14*1b8adde7SWilliam Kucharski$(OPTION_DOCS)MAN8_FILES	= grub-install.8	\
15*1b8adde7SWilliam Kucharski				  grub-md5-crypt.8	\
16*1b8adde7SWilliam Kucharski				  grub-terminfo.8	\
17*1b8adde7SWilliam Kucharski				  grub.8
18*1b8adde7SWilliam Kucharski
19*1b8adde7SWilliam Kucharski$(OPTION_DOCS)INFO_FILES	= grub.info		\
20*1b8adde7SWilliam Kucharski				  grub.info-1		\
21*1b8adde7SWilliam Kucharski				  grub.info-2		\
22*1b8adde7SWilliam Kucharski				  grub.info-3		\
23*1b8adde7SWilliam Kucharski				  grub.info-4		\
24*1b8adde7SWilliam Kucharski				  multiboot.info
25*1b8adde7SWilliam Kucharski
26*1b8adde7SWilliam Kucharski
27*1b8adde7SWilliam KucharskiINSTALL_MAN1_DIR = $(ROOT_PLAT_GRUB)/man/man1
28*1b8adde7SWilliam KucharskiINSTALL_MAN8_DIR = $(ROOT_PLAT_GRUB)/man/man8
29*1b8adde7SWilliam KucharskiINSTALL_INFO_DIR = $(ROOT_PLAT_GRUB)/info
30*1b8adde7SWilliam Kucharski
31*1b8adde7SWilliam KucharskiINSTALL_TARGETS	= $(MAN1_FILES:%=$(INSTALL_MAN1_DIR)/%) \
32*1b8adde7SWilliam Kucharski		  $(MAN8_FILES:%=$(INSTALL_MAN8_DIR)/%) \
33*1b8adde7SWilliam Kucharski		  $(INFO_FILES:%=$(INSTALL_INFO_DIR)/%)
34*1b8adde7SWilliam Kucharski
35*1b8adde7SWilliam Kucharski#
36*1b8adde7SWilliam Kucharski# Source files to be installed in $(SRC_DIR).
37*1b8adde7SWilliam Kucharski#
38*1b8adde7SWilliam KucharskiSRC_DIR		= $(ROOT_SRC)/docs
39*1b8adde7SWilliam KucharskiSRC_FILES	= Makefile.am Makefile.in boot.S boot.S.texi \
40*1b8adde7SWilliam Kucharski		  grub-install.8 grub-md5-crypt.8 grub-terminfo.8 grub.8 \
41*1b8adde7SWilliam Kucharski		  grub.info grub.info-1 grub.info-2 grub.info-3 grub.info-4 \
42*1b8adde7SWilliam Kucharski		  grub.texi help2man internals.texi kernel.c kernel.c.texi \
43*1b8adde7SWilliam Kucharski		  mbchk.1 mdate-sh menu.lst multiboot.h multiboot.h.texi \
44*1b8adde7SWilliam Kucharski		  multiboot.info multiboot.texi src2texi stamp-vti \
45*1b8adde7SWilliam Kucharski		  texinfo.tex version.texi
46*1b8adde7SWilliam Kucharski
47*1b8adde7SWilliam KucharskiINSTALL_TARGETS	+= $(SRC_FILES:%=$(SRC_DIR)/%)
48*1b8adde7SWilliam Kucharski
49*1b8adde7SWilliam Kucharski
50*1b8adde7SWilliam Kucharskiall clean clobber:
51*1b8adde7SWilliam Kucharski
52*1b8adde7SWilliam Kucharski
53*1b8adde7SWilliam Kucharskiinstall: all $(INSTALL_TARGETS)
54*1b8adde7SWilliam Kucharski
55*1b8adde7SWilliam Kucharski$(INSTALL_MAN1_DIR)/%: $(INSTALL_MAN1_DIR) %
56*1b8adde7SWilliam Kucharski	$(INS.file)
57*1b8adde7SWilliam Kucharski
58*1b8adde7SWilliam Kucharski$(INSTALL_MAN8_DIR)/%: $(INSTALL_MAN8_DIR) %
59*1b8adde7SWilliam Kucharski	$(INS.file)
60*1b8adde7SWilliam Kucharski
61*1b8adde7SWilliam Kucharski$(INSTALL_INFO_DIR)/%: $(INSTALL_INFO_DIR) %
62*1b8adde7SWilliam Kucharski	$(INS.file)
63*1b8adde7SWilliam Kucharski
64*1b8adde7SWilliam Kucharski$(SRC_DIR)/%: $(SRC_DIR) %
65*1b8adde7SWilliam Kucharski	$(INS.file)
66*1b8adde7SWilliam Kucharski
67*1b8adde7SWilliam Kucharski$(INSTALL_MAN1_DIR) $(INSTALL_MAN8_DIR) $(INSTALL_INFO_DIR) $(SRC_DIR):
68*1b8adde7SWilliam Kucharski	$(INS.dir)
69