Commit Graph

66 Commits

Author SHA1 Message Date
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
Guido van Rossum bfc1bbe57d Some cleanup; make for loops over subdirs less noisy, more informative. 1996-06-20 14:30:38 +00:00
Guido van Rossum 586480b80c Added some comments to the top.
Changed install targets so
(1) "make install" installs everything;
(2) more directories are built as needed;
(3) the X11R5 shell script install-sh is used (always).
(The script can't be called install.sh since some Make versions have a
default rule that copies "foo.sh" to "foo" when making "foo".)

Added target "smelly" which checks for non-Py-prefixed exported
symbols.
1996-05-28 22:49:08 +00:00
Guido van Rossum e7abf4e2c3 remove Modules/Makefile on distclean 1995-09-18 22:12:20 +00:00
Sjoerd Mullender 9f0a17b83f Better fix for creating extended pythons. (getpath.c needs to be
recompiled for the extensions)
1995-08-09 10:39:48 +00:00
Sjoerd Mullender ad5d2cf12c Fixed creation of extended python. 1995-08-09 09:18:20 +00:00
Guido van Rossum 6d47d0d07e pass prefix etc. on when making sharedinstall; install getpath.c 1995-08-07 21:58:40 +00:00
Guido van Rossum 7b4d460bdc the usual 1995-03-22 12:27:16 +00:00
Guido van Rossum af07a44428 the usual 1995-02-13 19:45:27 +00:00