]> granicus.if.org Git - python/commitdiff
If Setup is older than Setup.in, issue a bold warning that the Setup may
authorFred Drake <fdrake@acm.org>
Thu, 31 Aug 2000 16:56:15 +0000 (16:56 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 31 Aug 2000 16:56:15 +0000 (16:56 +0000)
need to be checked to make sure all the latest information is present.

This closes SourceForge patch #101275.

Modules/Makefile.pre.in

index acb46649e3ef16b608d7c68e1fc4802b41f08fb1..e298112af387d42dd58da0fac8dc0770fa601cbb 100644 (file)
@@ -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