grub/autogen.sh

26 lines
734 B
Bash
Raw Normal View History

2002-12-27 08:53:07 +00:00
#! /bin/sh
set -e
2010-06-08 17:37:17 +05:30
autogen --version >/dev/null || (echo autogen missing; exit 1)
2010-06-03 11:52:33 +05:30
echo "Creating Makefile.tpl..."
2010-05-06 11:34:04 +05:30
python gentpl.py | sed -e '/^$/{N;/^\n$/D;}' > Makefile.tpl
2010-06-03 11:52:33 +05:30
echo "Running autogen..."
2010-08-17 19:03:22 +05:30
autogen -T Makefile.tpl modules.def | sed -e '/^$/{N;/^\n$/D;}' > modules.am
autogen -T Makefile.tpl grub-core/modules.def | sed -e '/^$/{N;/^\n$/D;}' > grub-core/modules.am
2010-07-13 00:43:28 +05:30
echo "Importing unicode..."
python util/import_unicode.py unicode/UnicodeData.txt unicode/BidiMirroring.txt unicode/ArabicShaping.txt grub-core/unidata.c
2010-06-03 11:52:33 +05:30
echo "Importing libgcrypt..."
2010-08-17 19:03:22 +05:30
python util/import_gcry.py grub-core/lib/libgcrypt/ grub-core
2010-06-03 11:52:33 +05:30
echo "Saving timestamps..."
2010-05-06 11:34:04 +05:30
echo timestamp > stamp-h.in
2002-12-27 08:53:07 +00:00
2010-06-03 11:52:33 +05:30
echo "Running autoreconf..."
autoreconf -vi
2002-12-27 08:53:07 +00:00
exit 0