summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/Makefile.pre.in13
1 files changed, 11 insertions, 2 deletions
diff --git a/Modules/Makefile.pre.in b/Modules/Makefile.pre.in
index acb4664..e298112 100644
--- a/Modules/Makefile.pre.in
+++ b/Modules/Makefile.pre.in
@@ -160,8 +160,17 @@ hassignal:
fi; \
done
-Setup:
- cp $(srcdir)/Setup.in Setup
+Setup: $(srcdir)/Setup.in
+ @if [ -f Setup ] ; then \
+ echo; \
+ echo "-------------------------------------------"; \
+ echo "$(srcdir)/Setup.in is newer than Setup;"; \
+ echo "check to make sure you have all the updates"; \
+ echo "you need in your Setup file."; \
+ echo "-------------------------------------------"; \
+ echo; \
+ else (set -x; cp $(srcdir)/Setup.in Setup); fi
+
Setup.local:
echo "# Edit this file for local setup changes" >Setup.local