Commit ed940469 authored by Paul Eggert's avatar Paul Eggert

Default autogen.sh to 'all'

This addresses a problem noted by RMS in:
http://lists.gnu.org/archive/html/emacs-devel/2017-08/msg00052.html
* autogen.sh (do_git): Set to true if this script is invoked
with no arguments and there is a .git subdirectory.
parent bbf52c14
...@@ -14,7 +14,7 @@ Briefly, the following shell commands build and run Emacs from scratch: ...@@ -14,7 +14,7 @@ Briefly, the following shell commands build and run Emacs from scratch:
git config --global transfer.fsckObjects true git config --global transfer.fsckObjects true
git clone git://git.sv.gnu.org/emacs.git git clone git://git.sv.gnu.org/emacs.git
cd emacs cd emacs
./autogen.sh all ./autogen.sh
./configure ./configure
make make
src/emacs src/emacs
......
...@@ -19,7 +19,7 @@ To use the autotools, run the following shell command to generate the ...@@ -19,7 +19,7 @@ To use the autotools, run the following shell command to generate the
'configure' script and some related files, and to set up your git 'configure' script and some related files, and to set up your git
configuration: configuration:
$ ./autogen.sh all $ ./autogen.sh
You can then configure your build as follows: You can then configure your build as follows:
......
...@@ -127,7 +127,8 @@ done ...@@ -127,7 +127,8 @@ done
case $do_autoconf,$do_git in case $do_autoconf,$do_git in
false,false) false,false)
do_autoconf=true;; do_autoconf=true
test -e .git && do_git=true;;
esac esac
# Generate Autoconf-related files, if requested. # Generate Autoconf-related files, if requested.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment