From: Wayne Davison Date: Fri, 10 Apr 2009 23:24:12 +0000 (-0700) Subject: Allow a "make reconfigure" to continue, even if the Makefile changes. X-Git-Tag: v3.0.6pre1~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff908116efefc0c8926e2ce419e5de566201646a;p=thirdparty%2Frsync.git Allow a "make reconfigure" to continue, even if the Makefile changes. --- diff --git a/Makefile.in b/Makefile.in index 9562a006..25548854 100644 --- a/Makefile.in +++ b/Makefile.in @@ -161,8 +161,12 @@ Makefile: Makefile.in config.status configure.sh config.h.in echo "Makefile is unchanged."; \ rm Makefile.old; \ else \ - echo "Makefile updated -- rerun your make command."; \ - exit 1; \ + if test "$(MAKECMDGOALS)" = reconfigure; then \ + echo 'Continuing with "make reconfigure".'; \ + else \ + echo "Makefile updated -- rerun your make command."; \ + exit 1; \ + fi \ fi proto: proto.h-tstamp