aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-07-30 16:20:10 +0000
committerGeorg Brandl <georg@python.org>2006-07-30 16:20:10 +0000
commitb142c63fd9c890c0d0e7b239b8a461ad762b1415 (patch)
treed4e76a2f850f7d48539fc0a2be7babc276621dd9 /Makefile.pre.in
parentDrop usage of test -e in configure as it is not portable. (diff)
downloadcpython-b142c63fd9c890c0d0e7b239b8a461ad762b1415.tar.gz
cpython-b142c63fd9c890c0d0e7b239b8a461ad762b1415.tar.bz2
cpython-b142c63fd9c890c0d0e7b239b8a461ad762b1415.zip
Fix makefile changes for python-config.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index bbfa5a393d8..ce8710e1cac 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -651,7 +651,7 @@ bininstall: altbininstall
else true; \
fi
(cd $(DESTDIR)$(BINDIR); $(LN) python$(VERSION)$(EXE) $(PYTHON))
- (cd $(DESTDIR)$(BINDIR); $(LN) -sf python-config$(VERSION)$(EXE) python-config$(EXE))
+ (cd $(DESTDIR)$(BINDIR); $(LN) -sf python$(VERSION)-config python-config)
# Install the interpreter with $(VERSION) affixed
# This goes into $(exec_prefix)
@@ -853,7 +853,7 @@ libainstall: all
# Substitution happens here, as the completely-expanded BINDIR
# is not available in configure
sed -e "s,@EXENAME@,$(BINDIR)/python$(VERSION)$(EXE)," < $(srcdir)/Misc/python-config.in >python-config
- $(INSTALL_SCRIPT) python-config $(DESTDIR)$(BINDIR)/python-config$(VERSION)$(EXE)
+ $(INSTALL_SCRIPT) python-config $(DESTDIR)$(BINDIR)/python$(VERSION)-config
rm python-config
@if [ -s Modules/python.exp -a \
"`echo $(MACHDEP) | sed 's/^\(...\).*/\1/'`" = "aix" ]; then \