summaryrefslogtreecommitdiff
path: root/autogen/copy_autogen
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2011-03-20 16:58:23 -0700
committerGlenn Morris <rgm@gnu.org>2011-03-20 16:58:23 -0700
commit66b874939b5acd59c76fa53373f2e41871ec1fef (patch)
tree2068f1af187f95a85ac0c7730c7b611b9d4ad8c1 /autogen/copy_autogen
parent1fe275ee28e8a37fdbbd6d6cf75f1b15b9674b4b (diff)
downloademacs-66b874939b5acd59c76fa53373f2e41871ec1fef.tar.gz
(Re)move autotools generated files from the repository.
Ref: http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg00225.html * autogen/: New directory, to be excluded from releases. * autogen/copy_autogen, autogen/update_autogen: New scripts. * autogen/README: New file. * autogen/aclocal.m4, autogen/config.in, autogen/configure: * autogen/Makefile.in: Add auto-updated generated files. * autogen.sh: No longer a no-op, now it tests for autotools and runs them as necessary. * configure.in: Defaule maintainer-mode to on. * aclocal.m4, configure, lib/Makefile.in: Remove files. * src/config.in: Remove file. * INSTALL.BZR, admin/make-tarball.txt: Update instructions.
Diffstat (limited to 'autogen/copy_autogen')
-rwxr-xr-xautogen/copy_autogen20
1 files changed, 20 insertions, 0 deletions
diff --git a/autogen/copy_autogen b/autogen/copy_autogen
new file mode 100755
index 00000000000..4abdbd87c0f
--- /dev/null
+++ b/autogen/copy_autogen
@@ -0,0 +1,20 @@
+#!/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
+## tools instead of using this. Note that if eg configure.in
+## 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.
+
+if test ! -e config.in; then
+ echo "You must run this script from the autogen/ directory."
+ exit 1
+fi
+
+cp configure aclocal.m4 ../
+cp config.in ../src/
+cp Makefile.in ../lib/
+
+echo "You can now run configure"