copy_autogen 861 Bytes
Newer Older
1 2 3 4 5
#!/bin/sh

## Helper script for those building Emacs from bzr without autoconf etc.
## This installs some pre-generated versions of the automatically
## generated files.  It is highly recommended to install the necessary
6
## tools instead of using this.  Note that if eg configure.ac
7 8 9 10
## is updated, the next time you run make it will attempt to
## regenerate configure and will fail if you do not have the required
## tools.  You will have to run this script again.

Glenn Morris's avatar
Glenn Morris committed
11 12
test -d autogen && cd autogen

13
if test ! -e config.in; then
Glenn Morris's avatar
Glenn Morris committed
14
    echo "Cannot find autogen/ directory."
15 16 17
    exit 1
fi

Glenn Morris's avatar
Glenn Morris committed
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
Glenn Morris's avatar
Glenn Morris committed
20 21 22
cp aclocal.m4 ../
cp configure ../
touch ../src/stamp-h.in
23 24 25 26
cp config.in ../src/
cp Makefile.in ../lib/

echo "You can now run configure"