~ubuntu-branches/ubuntu/utopic/grub/utopic

« back to all changes in this revision

Viewing changes to docs/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Jason Thomas
  • Date: 2002-02-04 15:35:01 UTC
  • Revision ID: james.westby@ubuntu.com-20020204153501-neulkag77r3a2m0v
Tags: upstream-0.91
ImportĀ upstreamĀ versionĀ 0.91

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
info_TEXINFOS = grub.texi multiboot.texi
 
2
grub_TEXINFOS = internals.texi
 
3
EXAMPLES = boot.S kernel.c multiboot.h
 
4
multiboot_TEXINFOS = boot.S.texi kernel.c.texi multiboot.h.texi
 
5
man_MANS = grub.8 mbchk.1 grub-install.8 grub-md5-crypt.8
 
6
HELP2MAN = help2man
 
7
SRC2TEXI = src2texi
 
8
noinst_SCRIPTS = $(HELP2MAN) $(SRC2TEXI)
 
9
EXTRA_PROGRAMS = kernel
 
10
 
 
11
# The example kernel is built if you specify --enable-example-kernel.
 
12
if BUILD_EXAMPLE_KERNEL
 
13
noinst_PROGRAMS = kernel
 
14
kernel_SOURCES = $(EXAMPLES)
 
15
kernel_CFLAGS = -fno-builtin -nostdinc -O -g -Wall \
 
16
        -imacros $(top_builddir)/config.h
 
17
kernel_LDFLAGS = -nostdlib -Wl,-N -Wl,-Ttext -Wl,100000
 
18
 
 
19
boot.o: multiboot.h
 
20
endif
 
21
 
 
22
EXTRA_DIST = menu.lst $(man_MANS) $(noinst_SCRIPTS) \
 
23
        $(EXAMPLES) $(multiboot_TEXINFOS)
 
24
CLEANFILES = $(noinst_PROGRAMS)
 
25
 
 
26
# Cancel the rule %.texi -> %. This rule may confuse make to determine
 
27
# the dependecies.
 
28
.texi:
 
29
 
 
30
%.c.texi: %.c $(srcdir)/$(SRC2TEXI)
 
31
        $(SHELL) $(srcdir)/$(SRC2TEXI) $(srcdir) $< $@
 
32
 
 
33
%.h.texi: %.h $(srcdir)/$(SRC2TEXI)
 
34
        $(SHELL) $(srcdir)/$(SRC2TEXI) $(srcdir) $< $@
 
35
 
 
36
%.S.texi: %.S $(srcdir)/$(SRC2TEXI)
 
37
        $(SHELL) $(srcdir)/$(SRC2TEXI) $(srcdir) $< $@
 
38
 
 
39
if MAINTAINER_MODE
 
40
$(srcdir)/grub.8: ../grub/grub $(srcdir)/$(HELP2MAN)
 
41
        $(PERL) $(srcdir)/$(HELP2MAN) --name="the grub shell" \
 
42
                --section=8 --output=$@ $<
 
43
 
 
44
$(srcdir)/grub-install.8: ../util/grub-install $(srcdir)/$(HELP2MAN)
 
45
        chmod 755 $<
 
46
        $(PERL) $(srcdir)/$(HELP2MAN) --name="install GRUB on your drive" \
 
47
                --section=8 --output=$@ $<
 
48
 
 
49
$(srcdir)/mbchk.1: ../util/mbchk $(srcdir)/$(HELP2MAN)
 
50
        $(PERL) $(srcdir)/$(HELP2MAN) \
 
51
                --name="check the format of a Multiboot kernel" \
 
52
                --section=1 --output=$@ $<
 
53
 
 
54
$(srcdir)/grub-md5-crypt.8: ../util/grub-md5-crypt $(srcdir)/$(HELP2MAN)
 
55
        chmod 755 $<
 
56
        $(PERL) $(srcdir)/$(HELP2MAN) \
 
57
                --name="Encrypt a password in MD5 format" \
 
58
                --section=8 --output=$@ $<
 
59
endif