1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

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.
This commit is contained in:
Paul Eggert 2017-08-12 08:56:52 -07:00
parent bbf52c142a
commit ed9404692f
3 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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:

View file

@ -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.