]> code.delx.au - gnu-emacs/commit
autogen.sh now configures git only on request
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 3 Feb 2016 07:11:36 +0000 (23:11 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 3 Feb 2016 07:14:30 +0000 (23:14 -0800)
commitaca31e3815b9bd9c696cf0c74cc4a80ad7e35ec9
tree5c32bcba93ddbbc019705fa22e900237d848644a
parentb50075dd056b1c18afe96f29142981fe5774ceb1
autogen.sh now configures git only on request

* autogen.sh (do_autoconf, do_git): New vars.
Support new arguments --help, all, autoconf, git.
By default, just do autoconf-related configuration, not git.
Prefer 'echo' to 'cat <<EOF ...', as this tends to avoid temp files.
If GNU cp is available, use it to backup .git/config before
changing it.  When configuring git, chatter about what is being
done, and configure git to check hashes.  Avoid some duplicate
file name specification when creating git hooks.

* GNUmakefile (ALL_IF_GIT): New macro.
(configure): Use it.
* INSTALL.REPO: Suggest './autogen.sh all'.
GNUmakefile
INSTALL.REPO
autogen.sh