summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-10-26 17:07:40 (GMT)
committerFred Drake <fdrake@acm.org>2000-10-26 17:07:40 (GMT)
commitcf3bc8c5a5ecebb2aa4facc5eecfe8f3acec8b9b (patch)
tree21ecb6c34757bf1d2e53f5b13db7f7722abb95e3
parenteff9a87fcc1986192e20f9674432bea30cae2b41 (diff)
downloadcpython-cf3bc8c5a5ecebb2aa4facc5eecfe8f3acec8b9b.zip
cpython-cf3bc8c5a5ecebb2aa4facc5eecfe8f3acec8b9b.tar.gz
cpython-cf3bc8c5a5ecebb2aa4facc5eecfe8f3acec8b9b.tar.bz2
Rename Setup.in to Setup.dist, and assume that configure will create
Setup (instead of creating it from the Makefile).
-rw-r--r--BeOS/README3
-rw-r--r--Misc/AIX-NOTES2
-rw-r--r--Misc/Makefile.pre.in2
-rw-r--r--Modules/Makefile.pre.in16
-rw-r--r--Modules/Setup.dist (renamed from Modules/Setup.in)4
-rwxr-xr-xModules/makesetup2
6 files changed, 12 insertions, 17 deletions
diff --git a/BeOS/README b/BeOS/README
index ab71bd9..90013ee 100644
--- a/BeOS/README
+++ b/BeOS/README
@@ -29,8 +29,7 @@ To build,
1) ./configure --prefix=/boot/home/config
- 2) cp Modules/Setup.in Modules/Setup
- edit Modules/Setup
+ 2) edit Modules/Setup
comment out grp and mmap, and pwd on 4.5 or earlier
uncomment any modules you want to include in python
(you can also add them later as shared libraries.)
diff --git a/Misc/AIX-NOTES b/Misc/AIX-NOTES
index 6050dd4..c532fac 100644
--- a/Misc/AIX-NOTES
+++ b/Misc/AIX-NOTES
@@ -88,7 +88,7 @@ AIX shared library support was added to Python in the 1.4 release by Manus
Hand (mhand@csn.net) and Vladimir Marangozov (Vladimir.Marangozov@imag.fr).
Python modules may now be built as shared libraries on AIX using the normal
-process of uncommenting the "*shared*" line in Modules/Setup.in before the
+process of uncommenting the "*shared*" line in Modules/Setup before the
build.
AIX shared libraries require that an "export" and "import" file be provided
diff --git a/Misc/Makefile.pre.in b/Misc/Makefile.pre.in
index ca68576..1cc91a1 100644
--- a/Misc/Makefile.pre.in
+++ b/Misc/Makefile.pre.in
@@ -17,7 +17,7 @@
# only withs with Python 1.5, alpha 3 or newer.)
# Create a file Setup.in for your extension. This file follows the
-# format of the Modules/Setup.in file; see the instructions there.
+# format of the Modules/Setup.dist file; see the instructions there.
# For a simple module called "spam" on file "spammodule.c", it can
# contain a single line:
# spam spammodule.c
diff --git a/Modules/Makefile.pre.in b/Modules/Makefile.pre.in
index 6708686..fa94956 100644
--- a/Modules/Makefile.pre.in
+++ b/Modules/Makefile.pre.in
@@ -160,16 +160,12 @@ hassignal:
fi; \
done
-Setup: $(srcdir)/Setup.in
- @if [ -f Setup ] ; then \
- echo; \
- echo "----------------------------------------------"; \
- echo "Modules/Setup.in is newer than Modules/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: $(srcdir)/Setup.dist
+ echo "-----------------------------------------------"; \
+ echo "Modules/Setup.dist is newer than Modules/Setup;"; \
+ echo "check to make sure you have all the updates you"; \
+ echo "need in your Modules/Setup file."; \
+ echo "-----------------------------------------------";
Setup.local:
diff --git a/Modules/Setup.in b/Modules/Setup.dist
index ca83fab..d4be06b 100644
--- a/Modules/Setup.in
+++ b/Modules/Setup.dist
@@ -2,12 +2,12 @@
# The file Setup is used by the makesetup script to construct the files
# Makefile and config.c, from Makefile.pre and config.c.in,
# respectively. The file Setup itself is initially copied from
-# Setup.in; once it exists it will not be overwritten, so you can edit
+# Setup.dist; once it exists it will not be overwritten, so you can edit
# Setup to your heart's content. Note that Makefile.pre is created
# from Makefile.pre.in by the toplevel configure script.
# (VPATH notes: Setup and Makefile.pre are in the build directory, as
-# are Makefile and config.c; the *.in files are in the source
+# are Makefile and config.c; the *.in and *.dist files are in the source
# directory.)
# Each line in this file describes one or more optional modules.
diff --git a/Modules/makesetup b/Modules/makesetup
index 0a2794e..09ab50c 100755
--- a/Modules/makesetup
+++ b/Modules/makesetup
@@ -16,7 +16,7 @@
# Setup files after a -n option are used for their variables, modules
# and libraries but not for their .o files.
#
-# See Setup.in for a description of the format of the Setup file.
+# See Setup.dist for a description of the format of the Setup file.
#
# The following edits are made:
#