automake commit without merge history

This commit is contained in:
BVK Chaitanya 2010-05-06 11:34:04 +05:30
parent 265d68cd10
commit 8c41176882
810 changed files with 4980 additions and 2508 deletions

View file

@ -2,22 +2,33 @@
set -e
aclocal
autoconf
autoheader
ln -sf ../NEWS grub-core/
ln -sf ../README grub-core/
ln -sf ../INSTALL grub-core/
ln -sf ../AUTHORS grub-core/
ln -sf ../COPYING grub-core/
ln -sf ../ABOUT-NLS grub-core/
ln -sf ../ChangeLog grub-core/
ln -sf ../aclocal.m4 grub-core/
ln -sf ../acinclude.m4 grub-core/
ln -sf ../config.rpath grub-core/
ln -sf ../gentpl.py grub-core/
ln -sf ../configure.common grub-core/
# FIXME: automake doesn't like that there's no Makefile.am
automake -a -c -f || true
ln -sf grub-core/include .
ln -sf grub-core/gnulib .
ln -sf grub-core/lib .
python gentpl.py | sed -e '/^$/{N;/^\n$/D;}' > Makefile.tpl
autogen -T Makefile.tpl modules.def | sed -e '/^$/{N;/^\n$/D;}' > modules.am
(cd grub-core && python gentpl.py | sed -e '/^$/{N;/^\n$/D;}' > Makefile.tpl)
(cd grub-core && autogen -T Makefile.tpl modules.def | sed -e '/^$/{N;/^\n$/D;}' > modules.am)
(cd grub-core && echo timestamp > stamp-h.in)
(cd grub-core && python import_gcry.py lib/libgcrypt/ .)
echo timestamp > stamp-h.in
python util/import_gcry.py lib/libgcrypt/ .
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
autoreconf -vi
exit 0