~darkmuggle-deactivatedaccount/ubuntu/quantal/grub2/fix-872244

« back to all changes in this revision

Viewing changes to Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2010-01-11 11:12:55 UTC
  • mfrom: (17.3.7 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100111111255-lr8ebkqw5x41gq6j
Tags: 1.98~20100101-1ubuntu1
* Resynchronise with Debian. Remaining changes:
  - Adjust for default Ubuntu boot options ("quiet splash").
  - Default to hiding the menu; holding down Shift at boot will show it.
  - Set a monochromatic theme for Ubuntu.
  - Apply Ubuntu GRUB Legacy changes to legacy update-grub script: title,
    recovery mode, quiet option, tweak how memtest86+ is displayed, and
    use UUIDs where appropriate.
  - Conflict with grub (<< 0.97-54) as well as grub-legacy.
  - Fix backslash-escaping in merge_debconf_into_conf.
  - Remove "GNU/Linux" from default distributor string.
  - Add crashkernel= options if kdump and makedumpfile are available.
  - If other operating systems are installed, then automatically unhide
    the menu. Otherwise, if GRUB_HIDDEN_TIMEOUT is 0, then use keystatus
    if available to check whether Shift is pressed. If it is, show the
    menu, otherwise boot immediately. If keystatus is not available, then
    fall back to a short delay interruptible with Escape.
  - Allow Shift to interrupt 'sleep --interruptible'.
  - Don't display introductory message about line editing unless we're
    actually offering a shell prompt. Don't clear the screen just before
    booting if we never drew the menu in the first place.
  - Remove some verbose messages printed before reading the configuration
    file.
  - If the environment variable "quiet" is set to something other than 0,
    suppress progress messages as the kernel and initrd load. Set this for
    non-recovery kernel menu entries.
  - Add GRUB_DEFAULT=saved, as well as grub-set-default and grub-reboot
    utilities. Provides functionality essentially equivalent to GRUB
    Legacy's savedefault.
  - Keep the loopback file open so that subsequent changes to the "root"
    environment variable don't affect it.
  - Change prepare_grub_to_access_device to handle filesystems
    loop-mounted on file images.
  - Ignore devices loop-mounted from files in 10_linux.
  - Show the boot menu if the previous boot failed, that is if it failed
    to get to the end of one of the normal runlevels.
  - Handle RAID devices containing virtio components.
* Update savedefault patch from current Bazaar branch, fixing grub-reboot
  to have distinct behaviour from grub-set-default (LP: #497326).
* Fix grub-mkisofs compilation error with FORTIFY_SOURCE.
* Convert recordfail boilerplate in each menu entry to use a function.

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
AWK = @AWK@
110
110
LIBCURSES = @LIBCURSES@
111
111
LIBUSB = @LIBUSB@
 
112
LIBPCIACCESS = @LIBPCIACCESS@
112
113
YACC = @YACC@
113
114
FONT_SOURCE = @FONT_SOURCE@
114
115
 
115
116
# Options.
116
117
enable_grub_emu_usb = @enable_grub_emu_usb@
 
118
enable_grub_emu_pci = @enable_grub_emu_pci@
117
119
enable_grub_fstest = @enable_grub_fstest@
118
120
enable_grub_pe2elf = @enable_grub_pe2elf@
119
121
enable_grub_mkfont = @enable_grub_mkfont@
139
141
MOSTLYCLEANFILES =
140
142
DISTCLEANFILES = config.status config.cache config.log config.h \
141
143
        Makefile stamp-h include/grub/cpu include/grub/machine \
142
 
        gensymlist.sh genkernsyms.sh build_env.mk
 
144
        gensymlist.sh genkernsyms.sh build_env.mk \
 
145
        docs/grub.info docs/version.texi docs/stamp-vti
 
146
 
143
147
MAINTAINER_CLEANFILES = $(srcdir)/configure $(addprefix $(srcdir)/,$(MKFILES)) \
144
148
        $(srcdir)/DISTLIST $(srcdir)/config.h.in $(srcdir)/stamp-h.in $(INFOS)
145
149
 
165
169
### General targets.
166
170
 
167
171
CLEANFILES += $(pkglib_DATA) $(pkgdata_DATA) po/*.mo
168
 
pkglib_DATA += moddep.lst command.lst fs.lst partmap.lst parttool.lst handler.lst
 
172
pkglib_DATA += moddep.lst command.lst fs.lst partmap.lst parttool.lst handler.lst video.lst
169
173
moddep.lst: $(DEFSYMFILES) $(UNDSYMFILES) genmoddep.awk
170
174
        cat $(DEFSYMFILES) /dev/null \
171
175
          | $(AWK) -f $(srcdir)/genmoddep.awk $(UNDSYMFILES) > $@ \
186
190
parttool.lst: $(PARTTOOLFILES)
187
191
        cat $^ /dev/null | sort | uniq > $@
188
192
 
 
193
video.lst: $(VIDEOFILES)
 
194
        cat $^ /dev/null | sort | uniq > $@
 
195
 
189
196
ifneq (true, $(MAKEINFO))
190
197
info_INFOS += docs/grub.info
191
198
endif
477
484
        $(SHELL) ./config.status
478
485
 
479
486
$(srcdir)/po/$(PACKAGE).pot: po/POTFILES po/POTFILES-shell
480
 
        cd $(srcdir) && $(XGETTEXT) --from-code=utf-8 -o $@ -f $< --keyword=_ --keyword=N_
481
 
        cd $(srcdir) && $(XGETTEXT) --from-code=utf-8 -o $@ -f po/POTFILES-shell -j --language=Shell
 
487
        cd $(srcdir) && $(XGETTEXT) -ctranslate --from-code=utf-8 -o $@ -f $< --keyword=_ --keyword=N_
 
488
        cd $(srcdir) && $(XGETTEXT) -ctranslate --from-code=utf-8 -o $@ -f po/POTFILES-shell -j --language=Shell
482
489
 
483
490
$(foreach lang, $(LINGUAS), $(srcdir)/po/$(lang).po): po/$(PACKAGE).pot
484
491
        $(MSGMERGE) -U $@ $^