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