Fix make dist.
* Makefile.am (starfield_theme_files): New var. (starfield_DATA): Use starfield_theme_files. (EXTRA_DIST): Add starfield_theme_files. Add starfield source files. Add bootcheck-related files. * conf/Makefile.extra-dist (EXTRA_DIST): Add several missing files. * docs/Makefile.am (EXTRA_DIST): Add font_char_metrics.png and font_char_metrics.txt. * grub-core/Makefile.core.def (kernel): Update extra_dist. (setjmp): Add lib/ia64/longjmp.S. * po/Makefile.in.in (DISTFILES): Add POTFILES-shell.in and grub.d.sed. * po/POTFILES.in: Regenerate. * po/Rules-swiss: use DISTFILES.common.extra2 and not DISTFILES.common.extra1. * util/devicemap.c: Removed. * grub-core/lib/i386/relocator_backward.S: Likewise. * util/import_gcry.py: Remove unused files. Add extra_dist for ChangeLog.
This commit is contained in:
parent
cf1adfdff5
commit
2702b4e4f7
11 changed files with 66 additions and 26 deletions
22
ChangeLog
22
ChangeLog
|
@ -1,3 +1,25 @@
|
||||||
|
2012-02-28 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
Fix make dist.
|
||||||
|
|
||||||
|
* Makefile.am (starfield_theme_files): New var.
|
||||||
|
(starfield_DATA): Use starfield_theme_files.
|
||||||
|
(EXTRA_DIST): Add starfield_theme_files. Add starfield source files.
|
||||||
|
Add bootcheck-related files.
|
||||||
|
* conf/Makefile.extra-dist (EXTRA_DIST): Add several missing files.
|
||||||
|
* docs/Makefile.am (EXTRA_DIST): Add font_char_metrics.png
|
||||||
|
and font_char_metrics.txt.
|
||||||
|
* grub-core/Makefile.core.def (kernel): Update extra_dist.
|
||||||
|
(setjmp): Add lib/ia64/longjmp.S.
|
||||||
|
* po/Makefile.in.in (DISTFILES): Add POTFILES-shell.in and grub.d.sed.
|
||||||
|
* po/POTFILES.in: Regenerate.
|
||||||
|
* po/Rules-swiss: use DISTFILES.common.extra2 and not
|
||||||
|
DISTFILES.common.extra1.
|
||||||
|
* util/devicemap.c: Removed.
|
||||||
|
* grub-core/lib/i386/relocator_backward.S: Likewise.
|
||||||
|
* util/import_gcry.py: Remove unused files. Add extra_dist for
|
||||||
|
ChangeLog.
|
||||||
|
|
||||||
2012-02-28 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-02-28 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/gettext/gettext.c (grub_mofile_open): Call
|
* grub-core/gettext/gettext.c (grub_mofile_open): Call
|
||||||
|
|
|
@ -66,14 +66,19 @@ pkgdata_DATA += unicode.pf2 ascii.pf2 euro.pf2 ascii.h widthspec.h
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
starfield_theme_files = $(srcdir)/themes/starfield/blob_w.png $(srcdir)/themes/starfield/boot_menu_c.png $(srcdir)/themes/starfield/boot_menu_e.png $(srcdir)/themes/starfield/boot_menu_ne.png $(srcdir)/themes/starfield/boot_menu_n.png $(srcdir)/themes/starfield/boot_menu_nw.png $(srcdir)/themes/starfield/boot_menu_se.png $(srcdir)/themes/starfield/boot_menu_s.png $(srcdir)/themes/starfield/boot_menu_sw.png $(srcdir)/themes/starfield/boot_menu_w.png $(srcdir)/themes/starfield/slider_c.png $(srcdir)/themes/starfield/slider_n.png $(srcdir)/themes/starfield/slider_s.png $(srcdir)/themes/starfield/starfield.png $(srcdir)/themes/starfield/terminal_box_c.png $(srcdir)/themes/starfield/terminal_box_e.png $(srcdir)/themes/starfield/terminal_box_ne.png $(srcdir)/themes/starfield/terminal_box_n.png $(srcdir)/themes/starfield/terminal_box_nw.png $(srcdir)/themes/starfield/terminal_box_se.png $(srcdir)/themes/starfield/terminal_box_s.png $(srcdir)/themes/starfield/terminal_box_sw.png $(srcdir)/themes/starfield/terminal_box_w.png $(srcdir)/themes/starfield/theme.txt $(srcdir)/themes/starfield/README $(srcdir)/themes/starfield/COPYING.CC-BY-SA-3.0
|
||||||
|
|
||||||
if COND_STARFIELD
|
if COND_STARFIELD
|
||||||
starfield_DATA = dejavu.pf2 $(srcdir)/themes/starfield/blob_w.png $(srcdir)/themes/starfield/boot_menu_c.png $(srcdir)/themes/starfield/boot_menu_e.png $(srcdir)/themes/starfield/boot_menu_ne.png $(srcdir)/themes/starfield/boot_menu_n.png $(srcdir)/themes/starfield/boot_menu_nw.png $(srcdir)/themes/starfield/boot_menu_se.png $(srcdir)/themes/starfield/boot_menu_s.png $(srcdir)/themes/starfield/boot_menu_sw.png $(srcdir)/themes/starfield/boot_menu_w.png $(srcdir)/themes/starfield/slider_c.png $(srcdir)/themes/starfield/slider_n.png $(srcdir)/themes/starfield/slider_s.png $(srcdir)/themes/starfield/starfield.png $(srcdir)/themes/starfield/terminal_box_c.png $(srcdir)/themes/starfield/terminal_box_e.png $(srcdir)/themes/starfield/terminal_box_ne.png $(srcdir)/themes/starfield/terminal_box_n.png $(srcdir)/themes/starfield/terminal_box_nw.png $(srcdir)/themes/starfield/terminal_box_se.png $(srcdir)/themes/starfield/terminal_box_s.png $(srcdir)/themes/starfield/terminal_box_sw.png $(srcdir)/themes/starfield/terminal_box_w.png $(srcdir)/themes/starfield/theme.txt
|
starfield_DATA = dejavu.pf2 $(starfield_theme_files)
|
||||||
dejavu.pf2: $(DJVU_FONT_SOURCE) grub-mkfont
|
dejavu.pf2: $(DJVU_FONT_SOURCE) grub-mkfont
|
||||||
$(builddir)/grub-mkfont -o $@ $(DJVU_FONT_SOURCE)
|
$(builddir)/grub-mkfont -o $@ $(DJVU_FONT_SOURCE)
|
||||||
else
|
else
|
||||||
starfield_DATA =
|
starfield_DATA =
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
EXTRA_DIST += $(starfield_theme_files)
|
||||||
|
EXTRA_DIST += $(srcdir)/themes/starfield/src/slider_s.xcf $(srcdir)/themes/starfield/src/slider_n.xcf $(srcdir)/themes/starfield/src/slider_c.xcf $(srcdir)/themes/starfield/src/blob_nw.xcf $(srcdir)/themes/starfield/src/bootmenu/center.xcf $(srcdir)/themes/starfield/src/bootmenu/corner.xcf $(srcdir)/themes/starfield/src/bootmenu/side.xcf $(srcdir)/themes/starfield/src/terminalbox/side.xcf $(srcdir)/themes/starfield/src/terminalbox/corner.xcf $(srcdir)/themes/starfield/src/terminalbox/center.xcf
|
||||||
|
|
||||||
unicode.pf2: $(FONT_SOURCE) grub-mkfont
|
unicode.pf2: $(FONT_SOURCE) grub-mkfont
|
||||||
$(builddir)/grub-mkfont -o $@ $(FONT_SOURCE)
|
$(builddir)/grub-mkfont -o $@ $(FONT_SOURCE)
|
||||||
CLEANFILES += unicode.pf2
|
CLEANFILES += unicode.pf2
|
||||||
|
@ -318,6 +323,7 @@ BOOTCHECKS += bootcheck-multiboot bootcheck-multiboot2
|
||||||
|
|
||||||
BOOTCHECKS += bootcheck-linux-i386 bootcheck-linux-x86_64
|
BOOTCHECKS += bootcheck-linux-i386 bootcheck-linux-x86_64
|
||||||
|
|
||||||
|
EXTRA_DIST += grub-core/tests/boot/kbsd.init-i386.S grub-core/tests/boot/kbsd.init-x86_64.S grub-core/tests/boot/kbsd.spec.txt grub-core/tests/boot/kernel-8086.S grub-core/tests/boot/kernel-i386.S grub-core/tests/boot/kfreebsd-aout.cfg grub-core/tests/boot/kfreebsd.cfg grub-core/tests/boot/kfreebsd.init-i386.S grub-core/tests/boot/kfreebsd.init-x86_64.S grub-core/tests/boot/knetbsd.cfg grub-core/tests/boot/kopenbsd.cfg grub-core/tests/boot/kopenbsdlabel.txt grub-core/tests/boot/linux16.cfg grub-core/tests/boot/linux.cfg grub-core/tests/boot/linux.init-i386.S grub-core/tests/boot/linux.init-x86_64.S grub-core/tests/boot/multiboot2.cfg grub-core/tests/boot/multiboot.cfg grub-core/tests/boot/ntldr.cfg grub-core/tests/boot/pc-chainloader.cfg
|
||||||
|
|
||||||
.PHONY: bootcheck-linux-i386 bootcheck-linux-x86_64 \
|
.PHONY: bootcheck-linux-i386 bootcheck-linux-x86_64 \
|
||||||
bootcheck-kfreebsd-i386 bootcheck-kfreebsd-x86_64 \
|
bootcheck-kfreebsd-i386 bootcheck-kfreebsd-x86_64 \
|
||||||
|
|
|
@ -4,6 +4,7 @@ EXTRA_DIST += geninit.sh
|
||||||
EXTRA_DIST += gentpl.py
|
EXTRA_DIST += gentpl.py
|
||||||
EXTRA_DIST += Makefile.tpl
|
EXTRA_DIST += Makefile.tpl
|
||||||
EXTRA_DIST += Makefile.util.def
|
EXTRA_DIST += Makefile.util.def
|
||||||
|
EXTRA_DIST += Makefile.utilgcry.def
|
||||||
|
|
||||||
EXTRA_DIST += unicode
|
EXTRA_DIST += unicode
|
||||||
|
|
||||||
|
@ -29,6 +30,24 @@ EXTRA_DIST += grub-core/lib/libgcrypt/cipher
|
||||||
EXTRA_DIST += $(shell find $(top_srcdir)/include -name '*.h')
|
EXTRA_DIST += $(shell find $(top_srcdir)/include -name '*.h')
|
||||||
EXTRA_DIST += $(shell find $(top_srcdir)/grub-core/lib -name '*.h')
|
EXTRA_DIST += $(shell find $(top_srcdir)/grub-core/lib -name '*.h')
|
||||||
EXTRA_DIST += $(shell find $(top_srcdir)/grub-core/gnulib -name '*.h')
|
EXTRA_DIST += $(shell find $(top_srcdir)/grub-core/gnulib -name '*.h')
|
||||||
EXTRA_DIST += $(shell find $(top_srcdir)/grub-core/efiemu -name '*.h')
|
EXTRA_DIST += grub-core/efiemu/runtime/config.h
|
||||||
|
|
||||||
|
EXTRA_DIST += grub-core/lib/LzmaDec.c
|
||||||
|
|
||||||
|
EXTRA_DIST += BUGS
|
||||||
|
EXTRA_DIST += util/i386/efi/grub-dumpdevtree
|
||||||
|
|
||||||
EXTRA_DIST += m4/gnulib-cache.m4
|
EXTRA_DIST += m4/gnulib-cache.m4
|
||||||
|
EXTRA_DIST += m4/glibc2.m4
|
||||||
|
EXTRA_DIST += m4/gnulib-tool.m4
|
||||||
|
EXTRA_DIST += m4/intdiv0.m4
|
||||||
|
EXTRA_DIST += m4/intl.m4
|
||||||
|
EXTRA_DIST += m4/intldir.m4
|
||||||
|
EXTRA_DIST += m4/intmax.m4
|
||||||
|
EXTRA_DIST += m4/inttypes-pri.m4
|
||||||
|
EXTRA_DIST += m4/lcmessage.m4
|
||||||
|
EXTRA_DIST += m4/lock.m4
|
||||||
|
EXTRA_DIST += m4/printf-posix.m4
|
||||||
|
EXTRA_DIST += m4/threadlib.m4
|
||||||
|
EXTRA_DIST += m4/uintmax_t.m4
|
||||||
|
EXTRA_DIST += m4/visibility.m4
|
||||||
|
|
|
@ -4,4 +4,6 @@ AUTOMAKE_OPTIONS = subdir-objects
|
||||||
info_TEXINFOS = grub.texi grub-dev.texi
|
info_TEXINFOS = grub.texi grub-dev.texi
|
||||||
grub_TEXINFOS = fdl.texi
|
grub_TEXINFOS = fdl.texi
|
||||||
|
|
||||||
|
EXTRA_DIST = font_char_metrics.png font_char_metrics.txt
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -194,6 +194,7 @@ kernel = {
|
||||||
mips_loongson = video/sis315pro.c;
|
mips_loongson = video/sis315pro.c;
|
||||||
mips_loongson = video/radeon_fuloong2e.c;
|
mips_loongson = video/radeon_fuloong2e.c;
|
||||||
extra_dist = video/sm712_init.c;
|
extra_dist = video/sm712_init.c;
|
||||||
|
extra_dist = video/sis315_init.c;
|
||||||
mips_loongson = commands/keylayouts.c;
|
mips_loongson = commands/keylayouts.c;
|
||||||
|
|
||||||
powerpc_ieee1275 = kern/powerpc/cache.S;
|
powerpc_ieee1275 = kern/powerpc/cache.S;
|
||||||
|
@ -234,7 +235,7 @@ kernel = {
|
||||||
|
|
||||||
extra_dist = kern/i386/int.S;
|
extra_dist = kern/i386/int.S;
|
||||||
extra_dist = kern/i386/realmode.S;
|
extra_dist = kern/i386/realmode.S;
|
||||||
extra_dist = kern/i386/pc/lzma_decode.S;
|
extra_dist = boot/i386/pc/lzma_decode.S;
|
||||||
extra_dist = kern/mips/cache_flush.S;
|
extra_dist = kern/mips/cache_flush.S;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1286,6 +1287,7 @@ module = {
|
||||||
extra_dist = lib/sparc64/setjmp.S;
|
extra_dist = lib/sparc64/setjmp.S;
|
||||||
extra_dist = lib/powerpc/setjmp.S;
|
extra_dist = lib/powerpc/setjmp.S;
|
||||||
extra_dist = lib/ia64/setjmp.S;
|
extra_dist = lib/ia64/setjmp.S;
|
||||||
|
extra_dist = lib/ia64/longjmp.S;
|
||||||
};
|
};
|
||||||
|
|
||||||
module = {
|
module = {
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
#define BACKWARD
|
|
||||||
#include "relocator_asm.S"
|
|
|
@ -68,9 +68,9 @@ UPDATEPOFILES = @UPDATEPOFILES@
|
||||||
DUMMYPOFILES = @DUMMYPOFILES@
|
DUMMYPOFILES = @DUMMYPOFILES@
|
||||||
DISTFILES.common = Makefile.in.in remove-potcdate.sin \
|
DISTFILES.common = Makefile.in.in remove-potcdate.sin \
|
||||||
$(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3)
|
$(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3)
|
||||||
DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \
|
DISTFILES = $(DISTFILES.common) Makevars POTFILES.in POTFILES-shell.in \
|
||||||
$(POFILES) $(GMOFILES) \
|
$(POFILES) $(GMOFILES) \
|
||||||
$(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3)
|
$(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3) grub.d.sed README
|
||||||
|
|
||||||
POTFILES = \
|
POTFILES = \
|
||||||
|
|
||||||
|
|
|
@ -521,7 +521,6 @@
|
||||||
./tests/lib/unit_test.c
|
./tests/lib/unit_test.c
|
||||||
./tests/printf_unit_test.c
|
./tests/printf_unit_test.c
|
||||||
./util/bin2h.c
|
./util/bin2h.c
|
||||||
./util/devicemap.c
|
|
||||||
./util/getroot.c
|
./util/getroot.c
|
||||||
./util/grub-editenv.c
|
./util/grub-editenv.c
|
||||||
./util/grub-fstest.c
|
./util/grub-fstest.c
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Special Makefile rules for English message catalogs with quotation marks.
|
# Special Makefile rules for English message catalogs with quotation marks.
|
||||||
|
|
||||||
DISTFILES.common.extra1 = swiss.sed Rules-swiss
|
DISTFILES.common.extra2 = swiss.sed Rules-swiss
|
||||||
|
|
||||||
de_CH.po-create: de.po swiss.sed
|
de_CH.po-create: de.po swiss.sed
|
||||||
LC_ALL=C.UTF-8 $(MSGFILTER) -i $< -o $(srcdir)/de_CH.po sed -f $(srcdir)/swiss.sed
|
LC_ALL=C.UTF-8 $(MSGFILTER) -i $< -o $(srcdir)/de_CH.po sed -f $(srcdir)/swiss.sed
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
#include <grub/util/deviceiter.h>
|
|
||||||
|
|
||||||
void
|
|
||||||
grub_util_emit_devicemap_entry (FILE *fp, char *name, int is_floppy,
|
|
||||||
int *num_fd, int *num_hd)
|
|
||||||
{
|
|
||||||
if (is_floppy)
|
|
||||||
fprintf (fp, "(fd%d)\t%s\n", (*num_fd)++, name);
|
|
||||||
else
|
|
||||||
fprintf (fp, "(hd%d)\t%s\n", (*num_hd)++, name);
|
|
||||||
}
|
|
|
@ -49,6 +49,7 @@ confutil.write ("library = {\n");
|
||||||
confutil.write (" name = libgrubgcry.a;\n");
|
confutil.write (" name = libgrubgcry.a;\n");
|
||||||
confutil.write (" cflags = '$(CFLAGS_GCRY)';\n");
|
confutil.write (" cflags = '$(CFLAGS_GCRY)';\n");
|
||||||
confutil.write (" cppflags = '$(CPPFLAGS_GCRY)';\n");
|
confutil.write (" cppflags = '$(CPPFLAGS_GCRY)';\n");
|
||||||
|
confutil.write (" extra_dist = grub-core/lib/libgcrypt-grub/cipher/ChangeLog;\n");
|
||||||
confutil.write ("\n");
|
confutil.write ("\n");
|
||||||
chlog = ""
|
chlog = ""
|
||||||
modules = []
|
modules = []
|
||||||
|
@ -330,12 +331,16 @@ for cipher_file in cipher_files:
|
||||||
conf.write (" cflags = '$(CFLAGS_GCRY)';\n");
|
conf.write (" cflags = '$(CFLAGS_GCRY)';\n");
|
||||||
conf.write (" cppflags = '$(CPPFLAGS_GCRY)';\n");
|
conf.write (" cppflags = '$(CPPFLAGS_GCRY)';\n");
|
||||||
conf.write ("};\n\n")
|
conf.write ("};\n\n")
|
||||||
|
f.close ()
|
||||||
|
fw.close ()
|
||||||
|
if nch:
|
||||||
|
chlog = "%s%s\n" % (chlog, chlognew)
|
||||||
elif isc and cipher_file != "camellia.c":
|
elif isc and cipher_file != "camellia.c":
|
||||||
print ("WARNING: C file isn't a module: %s" % cipher_file)
|
print ("WARNING: C file isn't a module: %s" % cipher_file)
|
||||||
f.close ()
|
f.close ()
|
||||||
fw.close ()
|
fw.close ()
|
||||||
if nch:
|
os.remove (outfile)
|
||||||
chlog = "%s%s\n" % (chlog, chlognew)
|
chlog = "%s\n * %s: Removed" % (chlog, cipher_file)
|
||||||
continue
|
continue
|
||||||
chlog = "%s%sSkipped unknown file\n" % (chlog, chlognew)
|
chlog = "%s%sSkipped unknown file\n" % (chlog, chlognew)
|
||||||
print ("WARNING: unknown file %s" % cipher_file)
|
print ("WARNING: unknown file %s" % cipher_file)
|
||||||
|
|
Loading…
Reference in a new issue