Commit Graph

74 Commits

Author SHA1 Message Date
Guido van Rossum 15527e98cd Protection agains non-existing subdirectories for clean and clobber
targets.  On some platforms this would cause an infinite Make
recursion.  Also remove "Doc" from the SUBDIRSTOO variable, since it
no longer exists in the standard distribution.
1998-05-19 21:15:03 +00:00
Guido van Rossum a58153e8bf Avoid using cut; sed can do this just as well... 1998-05-05 20:40:18 +00:00
Guido van Rossum 69f65801ab Misc changes for AIX: install the python.exp file, and properly use $(srcdir). 1998-03-03 21:47:00 +00:00
Guido van Rossum 414f261166 Revert to the old (indented) form of @DGUX_IS_BROKEN@. 1998-02-19 21:33:13 +00:00
Guido van Rossum 8f006272fe Some shifting around of the DGUX hack so that it won't break on DEC Unix
where Make doesn't know that '#' as a command is a comment.
1998-01-13 19:03:09 +00:00
Guido van Rossum 8b0d95f06e Oops, tiny fix for the DGUX rule when installing -- don't fail when
libpython$(VERSION).so doesn't exist.
1997-12-19 23:02:22 +00:00
Guido van Rossum 3c4bb802d0 Patch by Brian Gallew for DG/UX. I'm not quite sure what it does but
it seems harmless for other platforms.  It plays tricks with the name
of the library used to link with.  Apparently DG/UX really wants a
shared library to link with if it wants shared modules to use symbols
from the library.  I'm not sure why this wasn't an issue with 1.4;
DG/UX seems to be the only platform where moving to a single library
made things harder!

BTW This adds a target to create libpython$(VERSION).so; however this
target is *only* for DG/UX.
1997-12-18 23:55:32 +00:00
Fred Drake fc5d8b198a libainstall: Install Modules/Setup.thread in addition to Modules/Setup and
Modules/Setup.local.

	Guido:  I hope this is ok; it seems to make a lot of sense to get the
	whole trio of module config files installed as a set rather than
	doing it partially.
1997-12-09 15:18:33 +00:00
Guido van Rossum 8e29a59b39 Skip directories when installing library files; this avoids problems
when test/output is found (/usr/bin/install chokes on this; no idea
why install-sh doesn't).
1997-12-02 19:18:27 +00:00
Guido van Rossum 6cedf82ac1 Make modes for installed files and directories variables; change the
default for directories (not for files!) to be group writable.
1997-12-02 17:52:37 +00:00
Guido van Rossum c9fd600640 Suggestion by David Ascher: set EXE macro to empty string and use it
in a few places -- so it can be set to .exe on GNUWIN32 platforms and
do the right thing.  Whatever.  (This was already done in
Modules/Makefile* but wasn't carried over here.)
1997-11-11 18:29:22 +00:00
Guido van Rossum e475d86bd9 Install Misc/Makefile.pre.in in the config/ install directory.
Suggestion by Konrad Hinsen.
1997-10-29 19:07:30 +00:00
Guido van Rossum cf809d6e48 Rename sharedmodules to lib-dynload.
Treat .pyo files like .pyc files.
1997-10-20 23:16:32 +00:00
Guido van Rossum 86b7db3750 Oops -- needed to fix another place affected by the change back to
$(MACHDEP) being just the platform name, without "plat-" prefix...
(To be precise, the libainstall target was totally broken.)
1997-10-06 00:15:31 +00:00
Guido van Rossum d99d714ac9 Install install-sh with the other config files.
Could be useful for an install target in Misc/Makefile.pre.in.
1997-10-04 04:35:24 +00:00
Guido van Rossum abffd00502 Install config.h under $exec_prefix/include rather than $exec_prefix/lib. 1997-09-11 14:37:59 +00:00
Guido van Rossum 6d911018f7 #Oops, missed a plat- prefix (for Lib/generic). 1997-09-08 02:31:17 +00:00
Guido van Rossum 38bbbc733f Forgot to install the test/output directory! 1997-09-08 01:51:23 +00:00
Barry Warsaw dd82bb9c14 Added a new variable TESTPYTHON which contains the path (and args) for
the executable to use during regression testing.
1997-08-29 21:52:14 +00:00
Guido van Rossum cf0be04b2c Should remove getbuildno.o/buildno files in clobber/distclean targets. 1997-08-29 18:42:35 +00:00
Guido van Rossum 86c052e83a Use 'buildno1' instead of '@buildno' for temp file since DJGPP's bash
doesn't seem to grok @buildno.
1997-08-20 22:13:15 +00:00
Guido van Rossum 5aadaf5a8e Need to define AR since it is used, and not all Makes define it by default. 1997-08-19 14:40:11 +00:00
Guido van Rossum 506ef9ec81 Change the order in which things are built -- build the shared modules
after the main interpreter.  Needed for AIX.
1997-08-18 14:22:24 +00:00
Guido van Rossum 1eec528d5e Build getbuildno.o here, to adequately update it every time a new
python executable is built.  (It still won't reflect builds of the
library only, but since the default make target builds the python
executable, that's alright.)
1997-07-25 22:34:08 +00:00
Guido van Rossum 895e1052e3 For use with Misc/Makefile.pre.in, the libainstall target must install
Modules/python.o.
1997-07-19 22:53:39 +00:00
Guido van Rossum ded2e207f4 Change libainstall again: need to install fewer files for "freeze";
add Setup.local to list of installed files.
1997-07-19 22:00:45 +00:00
Guido van Rossum 914fbd9ae6 New build procedure, using a single library libpython$(VERSION) at
this level.

The old libraries Modules/libModules.a etc. don't exist any more.

The libainstall target is updated to match.
1997-07-19 19:38:43 +00:00
Guido van Rossum 36bab7dbaf Don't stop if the tests fail the first time around. 1997-06-02 23:15:09 +00:00
Guido van Rossum fde51691ca Force PYTHONPATH= empty when running test suite. 1997-05-22 20:11:55 +00:00
Guido van Rossum 054b3a2cd3 TESTPATH is no longer needed 1997-05-13 17:58:16 +00:00
Guido van Rossum 4246edda7c Unroll the for loop used for building python, so the first three
subdirectories can be made in parallel (unfortunately, Modules has to
depend on all three).
1997-04-23 15:14:24 +00:00
Guido van Rossum 5ad7aaf5fb (Sjoerd:) Install getbuildinfo.c in config/ so extensions can use it. 1997-04-11 15:25:08 +00:00
Fred Drake db5a41f16b target libinstall:
Create the .pyo files corresponding to the .py and .pyc files as
	well.
1997-03-13 14:14:29 +00:00
Guido van Rossum f631d13ac7 Bump install version to 1.5. 1997-01-22 03:45:38 +00:00
Guido van Rossum fde462e173 Add the Lib/MACHDEP subdir to TESTPATH. 1997-01-11 19:59:17 +00:00
Guido van Rossum 042a05172f Add $(srcdir) in front of the test program's name (else it won't work
when $(srcdir) isn't '.', i.e. when using VPATH).
1997-01-03 15:54:36 +00:00
Barry Warsaw 9121ab9433 Switched over to use the new testregr.py test harness. 1997-01-02 20:01:44 +00:00
Guido van Rossum d266eb460e New permission notice, includes CNRI. 1996-10-25 14:44:06 +00:00
Guido van Rossum 04831d133e Use 574PATH, not $(PATH) -- it's a shell variable 1996-09-10 18:21:32 +00:00
Guido van Rossum f71bd68673 Fix $PATH and add $PYTHONPATH used to run regen. 1996-08-28 19:23:01 +00:00
Guido van Rossum cda848f49e Remove dependency of $(srcdir)/Lib/$(MACHDEP) on python, since it would
try to do the mkdir whenever a new python has been built...
1996-08-21 20:18:29 +00:00
Guido van Rossum fc8ebb1d3f MACHDEP and regen problem is now taken care of 1996-08-19 21:51:24 +00:00
Guido van Rossum bed23fe1ce Collect together all detailed installation directories. 1996-07-31 17:30:37 +00:00
Guido van Rossum b8dccd29b3 Add a variable so you can easily install more than one machdep directory. 1996-07-30 21:55:17 +00:00
Guido van Rossum 6d47298acd Correct typo (intall -> install) 1996-07-30 21:41:56 +00:00
Guido van Rossum 64b65677c9 Some more install changes:
- "make install" now depends on "make altinstall" for most of the
work, and the binary is always installed as python<version> first,
with a hard link to python made by "make bininstall".

- Create the machine dependent directory if it doesn't exist, and
attempt to run the regen script in it (unfortunately this will fail
unless you have h2py in your $PATH - help!)
1996-07-30 20:42:12 +00:00
Guido van Rossum b535da38f9 More changes to install targets. 1996-07-30 18:04:22 +00:00
Guido van Rossum 3912fd8781 Append version number to library install directory.
"make libinstall" no longer implies "make sharedinstall".
"make altinstall" and "make altbininstall" install the python binary
with a version number, for tentative installations (this does not
install the include files or man page).
1996-07-24 02:35:43 +00:00
Guido van Rossum 70a8659d9d Use INSTALL_PROGRAM for makesetup 1996-07-21 02:46:47 +00:00
Guido van Rossum 0068267750 split autoconf target in two 1996-06-28 20:15:41 +00:00