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 | ||
dee26dfa | 11 | test ! -d autogen || cd autogen || exit |
34cb1cc6 | 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. |
dee26dfa PE |
19 | cp -f compile config.guess config.sub depcomp install-sh missing \ |
20 | ../build-aux && | |
21 | cp aclocal.m4 ../ && | |
22 | cp configure ../ && | |
23 | touch ../src/stamp-h.in && | |
24 | cp config.in ../src/ && | |
25 | cp Makefile.in ../lib/ && | |
66b87493 GM |
26 | |
27 | echo "You can now run configure" |