diff src/Makefile @ 5860:747afb6a6de4 v7.4.273

updated for version 7.4.273 Problem: "make autoconf" and "make reconfig" may first run configure and then remove the output. Solution: Add these targets to the exceptions. (Ken Takata)
author Bram Moolenaar <bram@vim.org>
date Tue, 29 Apr 2014 20:04:09 +0200
parents 75f222d67cea
children 1157079ca5f1
line wrap: on
line diff
--- a/src/Makefile
+++ b/src/Makefile
@@ -1670,7 +1670,10 @@ config auto/config.mk: auto/configure co
 	    ! grep -x -F 'ac_cv_env_CFLAGS_value=$(CFLAGS)' auto/config.cache > /dev/null; then \
 		rm auto/config.cache; \
 	fi
-	if test "X$(MAKECMDGOALS)" != "Xclean" -a "X$(MAKECMDGOALS)" != "Xdistclean"; then \
+	if test "X$(MAKECMDGOALS)" != "Xclean" \
+		-a "X$(MAKECMDGOALS)" != "Xdistclean" \
+		-a "X$(MAKECMDGOALS)" != "Xautoconf" \
+		-a "X$(MAKECMDGOALS)" != "Xreconfig"; then \
 	    GUI_INC_LOC="$(GUI_INC_LOC)" GUI_LIB_LOC="$(GUI_LIB_LOC)" \
 		CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" \
 		LDFLAGS="$(LDFLAGS)" $(CONF_SHELL) srcdir="$(srcdir)" \