Commit | Line | Data |
---|---|---|
66b87493 GM |
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 | |
c4444d16 | 6 | ## tools instead of using this. Note that if eg configure.ac |
66b87493 GM |
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 | ||
34cb1cc6 GM |
11 | test -d autogen && cd autogen |
12 | ||
66b87493 | 13 | if test ! -e config.in; then |
34cb1cc6 | 14 | echo "Cannot find autogen/ directory." |
66b87493 GM |
15 | exit 1 |
16 | fi | |
17 | ||
34cb1cc6 | 18 | ## Order implied by top-level Makefile's rules, for time-stamps. |
74b880cb | 19 | cp compile config.guess config.sub depcomp install-sh missing ../build-aux |
34cb1cc6 GM |
20 | cp aclocal.m4 ../ |
21 | cp configure ../ | |
22 | touch ../src/stamp-h.in | |
66b87493 GM |
23 | cp config.in ../src/ |
24 | cp Makefile.in ../lib/ | |
25 | ||
26 | echo "You can now run configure" |