[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master ed94046 1/2: Default autogen.sh to 'all'
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master ed94046 1/2: Default autogen.sh to 'all' |
Date: |
Sat, 12 Aug 2017 12:09:45 -0400 (EDT) |
branch: master
commit ed9404692f75598c74d3ff6a4003f9373a5404f9
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
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.
---
CONTRIBUTE | 2 +-
INSTALL.REPO | 2 +-
autogen.sh | 3 ++-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/CONTRIBUTE b/CONTRIBUTE
index 365e423..9b5fb09 100644
--- a/CONTRIBUTE
+++ b/CONTRIBUTE
@@ -14,7 +14,7 @@ Briefly, the following shell commands build and run Emacs
from scratch:
git config --global transfer.fsckObjects true
git clone git://git.sv.gnu.org/emacs.git
cd emacs
- ./autogen.sh all
+ ./autogen.sh
./configure
make
src/emacs
diff --git a/INSTALL.REPO b/INSTALL.REPO
index ce346bb..e7bb3bb 100644
--- a/INSTALL.REPO
+++ b/INSTALL.REPO
@@ -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
configuration:
- $ ./autogen.sh all
+ $ ./autogen.sh
You can then configure your build as follows:
diff --git a/autogen.sh b/autogen.sh
index 76fde9e..70f9cbd 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -127,7 +127,8 @@ done
case $do_autoconf,$do_git in
false,false)
- do_autoconf=true;;
+ do_autoconf=true
+ test -e .git && do_git=true;;
esac
# Generate Autoconf-related files, if requested.