mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-03-10 10:27:13 -04:00
A "make reconfigure" doesn't stop if configure changes.
This commit is contained in:
10
Makefile.in
10
Makefile.in
@@ -139,9 +139,13 @@ configure.sh config.h.in: configure.in aclocal.m4
|
||||
rm config.h.in.old; \
|
||||
fi
|
||||
@if test -f configure.sh.old -o -f config.h.in.old; then \
|
||||
echo 'Configure files changed -- perhaps run:'; \
|
||||
echo ' make reconfigure'; \
|
||||
exit 1; \
|
||||
if test "$(MAKECMDGOALS)" = reconfigure; then \
|
||||
echo 'Configure files changed -- continuing with "make reconfigure".'; \
|
||||
else \
|
||||
echo 'Configure files changed -- perhaps run:'; \
|
||||
echo ' make reconfigure'; \
|
||||
exit 1; \
|
||||
fi \
|
||||
fi
|
||||
|
||||
reconfigure: configure.sh
|
||||
|
||||
Reference in New Issue
Block a user