copy_autogen 861 B

123456789101112131415161718192021222324252627
  1. #!/bin/sh
  2. ## Helper script for those building Emacs from bzr without autoconf etc.
  3. ## This installs some pre-generated versions of the automatically
  4. ## generated files. It is highly recommended to install the necessary
  5. ## tools instead of using this. Note that if eg configure.in
  6. ## is updated, the next time you run make it will attempt to
  7. ## regenerate configure and will fail if you do not have the required
  8. ## tools. You will have to run this script again.
  9. test -d autogen && cd autogen
  10. if test ! -e config.in; then
  11. echo "Cannot find autogen/ directory."
  12. exit 1
  13. fi
  14. ## Order implied by top-level Makefile's rules, for time-stamps.
  15. cp compile config.guess config.sub depcomp install-sh missing ../build-aux
  16. cp aclocal.m4 ../
  17. cp configure ../
  18. touch ../src/stamp-h.in
  19. cp config.in ../src/
  20. cp Makefile.in ../lib/
  21. echo "You can now run configure"