diff options
author | Fred Drake <fdrake@acm.org> | 2000-08-31 16:56:15 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-08-31 16:56:15 (GMT) |
commit | a54436fbdbcf1f8d3f16a63dbc8d5f2a72771fdf (patch) | |
tree | 0650e41784ce9586ce72f7297e8ff9900b94160b /Modules/Makefile.pre.in | |
parent | 0cf8cdea308af46119b3c544481a59f7d53f56a4 (diff) | |
download | cpython-a54436fbdbcf1f8d3f16a63dbc8d5f2a72771fdf.zip cpython-a54436fbdbcf1f8d3f16a63dbc8d5f2a72771fdf.tar.gz cpython-a54436fbdbcf1f8d3f16a63dbc8d5f2a72771fdf.tar.bz2 |
If Setup is older than Setup.in, issue a bold warning that the Setup may
need to be checked to make sure all the latest information is present.
This closes SourceForge patch #101275.
Diffstat (limited to 'Modules/Makefile.pre.in')
-rw-r--r-- | Modules/Makefile.pre.in | 13 |
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 |