]>
Commit | Line | Data |
---|---|---|
6a161fa9 | 1 | #! /bin/sh |
2 | ||
3 | set -e | |
4 | ||
ff174dbe BC |
5 | autogen --version >/dev/null || (echo autogen missing; exit 1) |
6 | ||
a60f6ee1 | 7 | echo "Creating Makefile.tpl..." |
8c411768 | 8 | python gentpl.py | sed -e '/^$/{N;/^\n$/D;}' > Makefile.tpl |
8c411768 | 9 | |
a60f6ee1 | 10 | echo "Running autogen..." |
6304d292 BC |
11 | autogen -T Makefile.tpl modules.def | sed -e '/^$/{N;/^\n$/D;}' > modules.am |
12 | autogen -T Makefile.tpl grub-core/modules.def | sed -e '/^$/{N;/^\n$/D;}' > grub-core/modules.am | |
0ef45b93 | 13 | |
297f0c2b BC |
14 | echo "Importing unicode..." |
15 | python util/import_unicode.py unicode/UnicodeData.txt unicode/BidiMirroring.txt unicode/ArabicShaping.txt grub-core/unidata.c | |
16 | ||
a60f6ee1 | 17 | echo "Importing libgcrypt..." |
6304d292 | 18 | python util/import_gcry.py grub-core/lib/libgcrypt/ grub-core |
0ef45b93 | 19 | |
a60f6ee1 | 20 | echo "Saving timestamps..." |
8c411768 | 21 | echo timestamp > stamp-h.in |
6a161fa9 | 22 | |
a60f6ee1 BC |
23 | echo "Running autoreconf..." |
24 | autoreconf -vi | |
6a161fa9 | 25 | exit 0 |