diff options
author | Guido van Rossum <guido@python.org> | 1997-11-11 18:29:22 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-11-11 18:29:22 (GMT) |
commit | c9fd600640229af8381f207b7d9224ba86db7206 (patch) | |
tree | 7f22a13eb2fc5341271143d9cac300e11a580606 /Makefile.in | |
parent | 6592b3c01e03ae8a76d5326e9ee9dc388ffb332c (diff) | |
download | cpython-c9fd600640229af8381f207b7d9224ba86db7206.zip cpython-c9fd600640229af8381f207b7d9224ba86db7206.tar.gz cpython-c9fd600640229af8381f207b7d9224ba86db7206.tar.bz2 |
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.)
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index 129bff1..f1e86ed 100644 --- a/Makefile.in +++ b/Makefile.in @@ -119,6 +119,9 @@ DESTSHARED= $(BINLIBDEST)/lib-dynload # Shell used by make (some versions default to the login shell, which is bad) SHELL= /bin/sh +# Use ``EXE=.exe'' for Unix emulations on DOS/Windows (e.g. GNUWIN32) +EXE= + # Portable install script (configure doesn't always guess right) INSTALL= @srcdir@/install-sh -c INSTALL_PROGRAM=${INSTALL} -m 755 @@ -220,7 +223,7 @@ bininstall: altbininstall then rm -f $(BINDIR)/python; \ else true; \ fi - (cd $(BINDIR); ln python$(VERSION) python) + (cd $(BINDIR); ln python$(VERSION)$(EXE) python$(EXE)) # Install the interpreter with $(VERSION) affixed # This goes into $(exec_prefix) @@ -234,7 +237,7 @@ altbininstall: python else true; \ fi; \ done - $(INSTALL_PROGRAM) python $(BINDIR)/python$(VERSION) + $(INSTALL_PROGRAM) python$(EXE) $(BINDIR)/python$(VERSION)$(EXE) # Install the manual page maninstall: |