]> granicus.if.org Git - python/commitdiff
Fix makefile changes for python-config.
authorGeorg Brandl <georg@python.org>
Sun, 30 Jul 2006 16:20:10 +0000 (16:20 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 30 Jul 2006 16:20:10 +0000 (16:20 +0000)
Makefile.pre.in

index bbfa5a393d8d276a4ebd3014292e65708a5f00aa..ce8710e1cacf41a8e6453bd710dba69ecb7353a2 100644 (file)
@@ -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 \