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