~jonathank89/burg/burg-percise

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#! /bin/sh

set -e

aclocal
autoconf
autoheader

# FIXME: automake doesn't like that there's no Makefile.am
automake -a -c -f || true

echo timestamp > stamp-h.in

if python -c "import re,sys,os,datetime" 2>/dev/null >/dev/null ; then
  python util/import_gcry.py lib/libgcrypt/ .
fi

for rmk in conf/*.rmk ${GRUB_CONTRIB}/*/conf/*.rmk; do
  if test -e $rmk ; then
    ruby genmk.rb < $rmk > `echo $rmk | sed 's/\.rmk$/.mk/'`
  fi
done
sh gendistlist.sh > DISTLIST

exit 0