grub/autogen.sh
robertmh cefabfe1c4 2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
* autogen.sh: Support addition of external modules via `GRUB_CONTRIB'
        variable.
        * Makefile.in: Likewise.
2009-10-26 20:04:43 +00:00

15 lines
255 B
Bash

#! /bin/sh
set -e
autoconf
autoheader
echo timestamp > stamp-h.in
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
./gendistlist.sh > DISTLIST
exit 0