]> git.eshelyaron.com Git - emacs.git/commitdiff
Ensure configure is running if necessary
authorPhillip Lord <phillip.lord@russet.org.uk>
Fri, 23 Mar 2018 22:01:08 +0000 (22:01 +0000)
committerAndrew G Cohen <cohen@andy.bu.edu>
Tue, 11 Dec 2018 06:18:30 +0000 (14:18 +0800)
* admin/nt/dist-build/build-zips.sh: Check for missing Makefile.

admin/nt/dist-build/build-zips.sh

index 01c237152a980f8671fc67d878a6b901756be6cc..3d28279885ac6c2ce7b72bb163e32cbc59db7827 100755 (executable)
@@ -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 \