merge with mainline
[grub.git] / autogen.sh
1 #! /bin/sh
2
3 set -e
4
5 aclocal
6 autoconf
7 autoheader
8
9 # FIXME: automake doesn't like that there's no Makefile.am
10 automake -a -c -f || true
11
12 echo timestamp > stamp-h.in
13
14 python util/import_gcry.py lib/libgcrypt/ .
15
16 python util/import_unicode.py unicode/UnicodeData.txt unicode/BidiMirroring.txt unicode/ArabicShaping.txt unidata.c
17
18 for rmk in conf/*.rmk ${GRUB_CONTRIB}/*/conf/*.rmk; do
19   if test -e $rmk ; then
20     ruby genmk.rb < $rmk > `echo $rmk | sed 's/\.rmk$/.mk/'`
21   fi
22 done
23 sh gendistlist.sh > DISTLIST
24
25 exit 0