Vladimir 'phcoder' Serbinenko
4f41a23d4e
merge mainline into mips
2009-12-02 09:51:36 +01:00
Robert Millan
ef34cbd4fa
2009-11-30 Robert Millan <rmh.grub@aybabtu.com>
...
Fix $srcdir != $objdir build.
* Makefile.in (po/%.po): Rewrite as ...
($(foreach lang, $(LINGUAS), $(srcdir)/po/$(lang).po)): ... this.
2009-11-30 01:25:57 +00:00
Robert Millan
3bc7896c1a
2009-11-27 Robert Millan <rmh.grub@aybabtu.com>
...
* po/ChangeLog: Remove. Move relevant entries back to ...
* ChangeLog: ... here.
* po/ca.po: Remove (now handled by TLP).
* po/id.po: Likewise.
* po/zh_CN.po: Likewise.
* Makefile.in (LINGUAS): Initialize in a way that supports
empty set.
2009-11-27 17:11:38 +00:00
Robert Millan
9ed4841d7a
2009-11-27 Robert Millan <rmh.grub@aybabtu.com>
...
* Makefile.in (LINGUAS): Rewrite by scanning po/ directory instead of
reliing on po/LINGUAS.
($(foreach lang, $(LINGUAS), $(srcdir)/po/$(lang).po)): Rewrite as ...
(po/%.po): ... this.
2009-11-27 16:46:00 +00:00
Vladimir 'phcoder' Serbinenko
0e8489094a
mainstream merged into pci
2009-11-25 15:15:30 +01:00
Felix Zielcke
bee48093d6
2009-11-24 Felix Zielcke <fzielcke@z-51.de>
...
* util/Makefile.in (install-local): Convert a `for' into a normal
shell expansion.
2009-11-24 21:01:40 +01:00
Felix Zielcke
26bec39d67
2009-11-24 Felix Zielcke <fzielcke@z-51.de>
...
* util/Makefile.in (install-local): Fix the use of $lang shell variable.
2009-11-24 19:44:24 +01:00
Felix Zielcke
8e2532fd0f
2009-11-24 Felix Zielcke <fzielcke@z-51.de>
...
* util/Makefile.in (install-local): Convert a make `$(foreach)'
function to a normal shell `for'.
2009-11-24 18:43:46 +01:00
Felix Zielcke
11d9778b86
2009-11-24 Felix Zielcke <fzielcke@z-51.de>
...
* Makefile.in: Don't include GRUB_CONTRIB makefiles with emu
platform.
2009-11-24 12:29:17 +01:00
Robert Millan
f84b481b35
Cheery-pick grub-emu split from experimental (rev 1361)
...
2009-11-23 Robert Millan <rmh.grub@aybabtu.com>
* configure.ac: Detect all `emu' platforms. Define
GRUB_MACHINE_* macros in TARGET_CFLAGS. Remove
--enable-grub-emu logic. Disable include/grub/machine
symlink on `emu' platforms.
* genkernsyms.sh.in: Use @TARGET_CFLAGS@ during symbol generation.
* gensymlist.sh.in: Likewise.
* include/grub/i386/coreboot/machine.h: Remove file.
* include/grub/i386/efi/machine.h: Likewise.
* include/grub/i386/ieee1275/machine.h: Likewise.
* include/grub/i386/pc/machine.h: Likewise.
* include/grub/i386/qemu/machine.h: Likewise.
* include/grub/powerpc/ieee1275/machine.h: Likewise.
* include/grub/sparc64/ieee1275/machine.h: Likewise.
* include/grub/x86_64/efi/machine.h: Likewise.
* commands/acpi.c: Remove `<grub/machine/machine.h>'.
* commands/halt.c: Likewise.
* commands/reboot.c: Likewise.
* include/grub/autoefi.h: Likewise.
* include/grub/i386/at_keyboard.h: Likewise.
* include/grub/i386/kernel.h: Likewise.
* include/grub/i386/loader.h: Likewise.
* include/grub/i386/pc/memory.h: Likewise.
* kern/dl.c: Likewise.
* kern/i386/coreboot/init.c: Likewise.
* loader/i386/bsd.c: Likewise.
* loader/i386/linux.c: Likewise.
* loader/multiboot_loader.c: Likewise.
* term/i386/pc/serial.c: Likewise.
* term/usb_keyboard.c: Likewise.
* include/grub/time.h [!GRUB_MACHINE_EMU]: Remove
`<grub/machine/machine.h>'
[!GRUB_MACHINE_EMU] (GRUB_TICKS_PER_SECOND): New macro.
* util/misc.c: Remove `<grub/machine/machine.h>' and
`<grub/machine/time.h>'.
* Makefile.in (enable_grub_emu): Remove variable.
Include $(srcdir)/conf/any-emu.mk for the `emu' platform.
* conf/any-emu.rmk: New file.
* conf/common.rmk (grub_emu_init.lst, grub_emu_init.h)
(grub_emu_init.c): Move from here ...
* conf/any-emu.rmk: ... to here.
* conf/i386-coreboot.rmk (sbin_UTILITIES): Remove `grub-emu'.
(grub_emu_SOURCES, grub_emu_LDFLAGS): Move from here ...
* conf/any-emu.rmk: ... to here.
2009-11-23 15:31:54 +00:00
Robert Millan
ea1dd8bf0a
2009-11-23 Robert Millan <rmh.grub@aybabtu.com>
...
* Makefile.in ($(srcdir)/po/$(PACKAGE).pot): Pass --keyword=N_ to
`$(XGETTEXT)'.
* include/grub/i18n.h (N_): New macro.
* util/mkisofs/mkisofs.h: Likewise.
* util/mkisofs/mkisofs.c (ld_options): Wrap all translatable strings
around N_().
(usage): Use gettext() to translate help strings when printing them.
2009-11-23 13:18:07 +00:00
Vladimir 'phcoder' Serbinenko
5acc2aba78
merged mainline into PCI
2009-11-23 11:15:24 +01:00
Felix Zielcke
26a61d6a59
2009-11-21 Felix Zielcke <fzielcke@z-51.de>
...
* Makefile.in (target): Use make's builtin $(shell) function
instead of calling directly $(SHELL) to create the locale directories,
inside the $(foreach) function.
2009-11-21 23:23:35 +01:00
Robert Millan
1164b2708e
2009-11-21 Robert Millan <rmh.grub@aybabtu.com>
...
Fix build for srcdir != objdir.
* Makefile.in (po/$(PACKAGE).pot): Rename to ...
($(srcdir)/po/$(PACKAGE).pot): ... this. Run $(XGETTEXT) from
$(srcdir).
($(foreach lang, $(LINGUAS), po/$(lang).po)): Rename to ...
($(foreach lang, $(LINGUAS), $(srcdir)/po/$(lang).po): ... this. Use $^
reference for input.
2009-11-21 13:48:15 +00:00
Felix Zielcke
6c09890c87
2009-11-20 Felix Zielcke <fzielcke@z-51.de>
...
* configure.ac (UNIFONT_BDF): Rename to ...
(FONT_SOURCE): ... this. Update all users.
2009-11-20 22:39:07 +01:00
Felix Zielcke
393c783d02
2009-11-19 Felix Zielcke <fzielcke@z-51.de>
...
* Makefile.in (install-local): Add a missing backslash.
2009-11-19 10:07:35 +01:00
Robert Millan
f577f7a09d
2009-11-19 Robert Millan <rmh.grub@aybabtu.com>
...
* conf/i386-pc.rmk (grub_setup_SOURCES): Add `gnulib/progname.c'.
* util/i386/pc/grub-setup.c: Include `<grub/i18n.h>'.
Include `"progname.h"'.
(main): Initialize gettext.
* util/i386/pc/grub-setup.c: Gettexttize.
* util/i386/pc/grub-mkimage.c: Likewise.
* Makefile.in (po/*.po): Redefine as ...
($(foreach lang, $(LINGUAS), po/$(lang).po)): ... this.
* po/POTFILES: Add `util/i386/pc/grub-setup.c'.
2009-11-18 23:20:22 +00:00
Robert Millan
633877cbb1
2009-11-18 Robert Millan <rmh.grub@aybabtu.com>
...
* po/POTFILES-shell: New file. List `util/grub.d/10_kfreebsd.in'
and `util/grub.d/10_linux.in'.
* Makefile.in (po/$(PACKAGE).pot): Process `po/POTFILES-shell' for
translatable Shell files.
2009-11-18 21:03:09 +00:00
Robert Millan
af1c0c85a7
2009-11-18 Robert Millan <rmh.grub@aybabtu.com>
...
* Makefile.in ($(srcdir)/aclocal.m4): New target.
2009-11-18 20:57:57 +00:00
Robert Millan
37fb845ba6
2009-11-17 Robert Millan <rmh.grub@aybabtu.com>
...
* INSTALL: Document Automake is needed for bootstrap.
* po/ca.po: Fix PO-Revision-Date and Language-Team fields.
* util/grub.d/10_kfreebsd.in (bindir): New variable.
Add gettext initialization.
(kfreebsd_entry): Make menuentry output translatable.
2009-11-17 11:44:43 +00:00
Robert Millan
8c37c91f99
2009-11-17 Robert Millan <rmh.grub@aybabtu.com>
...
* Makefile.in (XGETTEXT, MSGMERGE, MSGFMT, LINGUAS): New variables.
(po/$(PACKAGE).pot): Replace `xgettext' with `$(XGETTEXT)'.
(po/*.po): Replace `msgmerge' with `$(MSGMERGE)'.
(po/%.mo): Replace `msgfmt' with `$(MSGFMT)'.
* po/LINGUAS: New file.
2009-11-17 11:20:39 +00:00
Robert Millan
336262f829
2009-11-17 Robert Millan <rmh.grub@aybabtu.com>
...
* configure.ac: Call AM_GNU_GETTEXT() (defines localedir, among
other things).
* Makefile.in (CPPFLAGS): Add `-DLOCALEDIR=\"$(localedir)\"'.
* util/i386/pc/grub-mkimage.c (main): Issue setlocale() and
bindtextdomain() calls for gettext initialization.
2009-11-17 10:47:22 +00:00
Robert Millan
ab502ec59d
* conf/common.rmk (grub_mkisofs_CFLAGS): Move `-I$(srcdir)/gnulib'
...
from here ...
* Makefile.in (CPPFLAGS): ... to here.
2009-11-17 10:31:08 +00:00
Robert Millan
f5e9dadb58
Use PACKAGE instead of hardcoding "grub".
2009-11-16 20:03:14 +00:00
Robert Millan
49a38e7696
sed Makefile.in -e "s/messages.pot/\$(PACKAGE).pot/g" -i
2009-11-16 19:36:12 +00:00
Robert Millan
ed101e8122
Initial support for gettext in build system.
2009-11-15 23:11:01 +00:00
Felix Zielcke
16a88c491c
2009-11-15 Felix Zielcke <fzielcke@z-51.de>
...
* Makefile.in (TARGET_CPPFLAGS): Replace `-isystem=$(srcdir)/include'
with `-nostdinc -isystem $(shell $(TARGET_CC) -print-file-name=include)'.
2009-11-15 13:41:25 +01:00
fzielcke
5b1538672e
2009-11-01 Felix Zielcke <fzielcke@z-51.de>
...
* Makefile.in (TARGET_CPPFLAGS): Add `-I$(srcdir)/include'.
2009-11-01 18:19:04 +00:00
robertmh
d9e2cd701b
2009-10-30 Robert Millan <rmh.grub@aybabtu.com>
...
Fix build problem.
* Makefile.in (TARGET_CPPFLAGS): Replace `-nostdinc' with
`-isystem=$(srcdir)/include'.
2009-10-30 22:51:52 +00:00
robertmh
cee15086c3
2009-10-28 Robert Millan <rmh.grub@aybabtu.com>
...
* Makefile.in (TARGET_CPPFLAGS): Add `-nostdinc'.
2009-10-28 23:16:32 +00:00
robertmh
cefabfe1c4
2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
...
* autogen.sh: Support addition of external modules via `GRUB_CONTRIB'
variable.
* Makefile.in: Likewise.
2009-10-26 20:04:43 +00:00
robertmh
0579b753d6
2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
...
* Makefile.in (RMKFILES): Rewrite using $(wildcard).
2009-10-26 18:25:02 +00:00
robertmh
5947ae32f5
2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
...
* Makefile.in (docs/grub.info): Use make syntax to ignore errors
in $(MAKEINFO) invocation. This makes it clear in output that
errors are being ignored.
2009-10-26 18:02:30 +00:00
phcoder
459fed4b98
pciaccess
2009-10-14 18:17:18 +02:00
phcoder
3affd0ece8
libpci initial stuff
2009-10-14 10:11:59 +02:00
cjwatson
186e7cf23b
2009-10-06 Colin Watson <cjwatson@ubuntu.com>
...
* Makefile.in (docs/stamp-vti): Depend on configure.ac as well, so
that version.texi is rebuilt on version number changes.
2009-10-06 00:04:32 +00:00
cjwatson
83b65c4afb
2009-10-06 Colin Watson <cjwatson@ubuntu.com>
...
* Makefile.in: Don't set info_INFOS unless makeinfo was found.
Fixes bug #27602 .
2009-10-05 23:55:48 +00:00
robertmh
0e51c3a7d4
2009-09-28 Robert Millan <rmh.grub@aybabtu.com>
...
Do not automatically install headers.
* Makefile.in (include_DATA): Remove. Update all users.
2009-09-28 14:24:43 +00:00
cjwatson
ff42022396
2009-09-23 Colin Watson <cjwatson@ubuntu.com>
...
* configure.ac: Call AC_PROG_MKDIR_P.
* Makefile.in (docs/stamp-vti): Create docs directory. Create
version.texi in $(builddir) rather than $(srcdir).
(docs/grub.info): Create docs directory. Prepend $(builddir)/docs
to makeinfo's @include search path.
2009-09-23 17:18:06 +00:00
cjwatson
c44c90db27
2009-09-21 Colin Watson <cjwatson@ubuntu.com>
...
Build info documentation. Some code borrowed from Automake.
* configure.ac: Check for makeinfo.
* Makefile.in (MAKEINFO, INFOS, info_INFOS): New variables.
(MAINTAINER_CLEANFILES): Add $(INFOS), docs/stamp-vti, and
docs/version.texi.
(MOSTLYCLEANFILES): Add vti.tmp.
(docs/version.texi, docs/stamp-vti): Update automatically.
(docs/grub.info): Build info documentation. Use --force and ignore
errors for now.
(all-local): Add $(INFOS).
(install-local): Install info files.
(uninstall): Uninstall info files.
* docs/version.texi: Remove from revision control. This file is
automatically generated on build now.
* gendistlist.sh: Add `*.info'.
2009-09-21 18:22:27 +00:00
blusseau
e8f5d6e985
2009-09-12 Yves Blusseau <blusseau@zetam.org>
...
Change clean rules to properly remove files
* genmk.rb: add new clean rules
* Makefile.in (clean): add the new targets
(mostlyclean): likewise
2009-09-12 07:38:50 +00:00
blusseau
9a86f1ecb9
2009-09-06 Yves Blusseau <blusseau@zetam.org>
...
* Makefile.in (RMKFILES): add i386-qemu.rmk
(MAINTAINER_CLEANFILES): add $(srcdir)/DISTLIST $(srcdir)/config.h.in
$(srcdir)/stamp-h.in
2009-09-06 10:25:19 +00:00
proski
5496c37ebe
2009-08-21 Pavel Roskin <proski@gnu.org>
...
* Makefile.in (install-local): When checking if a file is in the
build directory, use "test -e" to detect symlinks.
2009-08-21 21:42:58 +00:00
proski
7a9094e5bc
2009-08-21 Pavel Roskin <proski@gnu.org>
...
* Makefile.in (install-local): Remove all files in
$(DESTDIR)$(pkglibdir) before installing new files there.
2009-08-21 21:40:58 +00:00
proski
5680109e00
2009-07-19 Pavel Roskin <proski@gnu.org>
...
* Makefile.in: Remove LIBLZO and enable_lzo.
* conf/i386-pc.rmk: Remove lzo support.
* configure.ac: Remove checks for lzo, don't define ENABLE_LZMA.
* include/grub/i386/pc/kernel.h: Define ENABLE_LZMA. Remove lzo
support.
* kern/i386/pc/lzo1x.S: Remove.
* kern/i386/pc/startup.S: Remove lzo support.
* util/i386/pc/grub-mkimage.c: Likewise.
2009-07-19 20:23:33 +00:00
phcoder
94414221cf
2009-07-16 Vladimir Serbinenko <phcoder@gmail.com>
...
Fix libusb
* Makefile.in (LIBUSB): new macro
* genmk.rb (Utility/print_tail): new method
(Utility/rule): use intermediary variable #{prefix}_OBJECTS
(top level): call util.print_tail at the end.
2009-07-16 14:53:33 +00:00
proski
999577f13c
2009-07-01 Pavel Roskin <proski@gnu.org>
...
* Makefile.in: Install include/grub/machine symlink.
2009-07-01 22:48:38 +00:00
proski
6f41557fb1
2009-07-01 Pavel Roskin <proski@gnu.org>
...
* Makefile.in: When installing symlinks, use "cp -fR", which
works on FreeBSD and MacOSX.
From Yves Blusseau <cl7m42e02@sneakemail.com>
2009-07-01 22:47:28 +00:00
proski
e40893c365
2009-06-12 Pavel Roskin <proski@gnu.org>
...
* Makefile.in (pkgdata_SRCDIR): Remove. genmodsrc.sh and
genmk.rb don't need to be generated or installed.
2009-06-12 20:11:19 +00:00
proski
0658e928cf
2009-06-11 Pavel Roskin <proski@gnu.org>
...
* Makefile.in (uninstall): Uninstall manuals.
2009-06-12 02:42:26 +00:00