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-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/407ea78a62178a70735910a4d0bba6c650dbb5bc?hp=cb197514d99d17dc3a1ce26ff8918d63307d75e4 Allow a "make reconfigure" to continue, even if the Makefile changes. --- diff --git a/Makefile.in b/Makefile.in index 9c9a58e5..01769548 100644 --- a/Makefile.in +++ b/Makefile.in @@ -162,8 +162,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