summaryrefslogtreecommitdiff
path: root/admin/nt
diff options
context:
space:
mode:
authorPhillip Lord <phillip.lord@russet.org.uk>2018-03-23 22:01:08 +0000
committerPhillip Lord <phillip.lord@russet.org.uk>2018-03-23 22:01:08 +0000
commit40fde7a75d4b036f597a0e8e768a7428875fc8fc (patch)
treeb17d2c746b84dbb6e0cde6815cc98c643a7d69a1 /admin/nt
parentcc8bc2a272da7c801df2cff51d31d72032acf9b4 (diff)
downloademacs-40fde7a75d4b036f597a0e8e768a7428875fc8fc.tar.gz
Ensure configure is running if necessary
* admin/nt/dist-build/build-zips.sh: Check for missing Makefile.
Diffstat (limited to 'admin/nt')
-rwxr-xr-xadmin/nt/dist-build/build-zips.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/admin/nt/dist-build/build-zips.sh b/admin/nt/dist-build/build-zips.sh
index 01c237152a9..3d28279885a 100755
--- a/admin/nt/dist-build/build-zips.sh
+++ b/admin/nt/dist-build/build-zips.sh
@@ -49,8 +49,9 @@ function build_zip {
export PKG_CONFIG_PATH=$PKG
## Running configure forces a rebuild of the C core which takes
- ## time that is not always needed
- if (($CONFIG))
+ ## time that is not always needed, so do not do it unless we have
+ ## to.
+ if [ ! -f Makefile ] || (($CONFIG))
then
echo [build] Configuring Emacs $ARCH
../../../git/$BRANCH/configure \