autogen.sh 473 B

1234567891011121314151617181920212223242526
  1. #! /bin/sh
  2. set -e
  3. aclocal
  4. autoconf
  5. autoheader
  6. # FIXME: automake doesn't like that there's no Makefile.am
  7. automake -a -c -f || true
  8. echo timestamp > stamp-h.in
  9. if python -c "import re,sys,os,datetime" 2>/dev/null >/dev/null ; then
  10. python util/import_gcry.py lib/libgcrypt/ .
  11. fi
  12. for rmk in conf/*.rmk ${GRUB_CONTRIB}/*/conf/*.rmk; do
  13. if test -e $rmk ; then
  14. ruby genmk.rb < $rmk > `echo $rmk | sed 's/\.rmk$/.mk/'`
  15. fi
  16. done
  17. sh gendistlist.sh > DISTLIST
  18. exit 0