]> granicus.if.org Git - python/commitdiff
make python3 alias in altbininstall
authorBenjamin Peterson <benjamin@python.org>
Sun, 19 Apr 2009 03:14:50 +0000 (03:14 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sun, 19 Apr 2009 03:14:50 +0000 (03:14 +0000)
Makefile.pre.in

index 0e7831fc4979bcfeca94fc0a9b6e1a2cea3b2d14..784d256edb8ce4f1c9824143caedf64b080ed6a0 100644 (file)
@@ -789,7 +789,6 @@ bininstall: altbininstall
        then rm -f $(DESTDIR)$(BINDIR)/$(PYTHON); \
        else true; \
        fi
-       (cd $(DESTDIR)$(BINDIR); $(LN) python$(VERSION)$(EXE) $(PYTHON)3)
        -rm -f $(DESTDIR)$(BINDIR)/python-config
        (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python-config)
 
@@ -816,6 +815,7 @@ altbininstall:      $(BUILDPYTHON)
                fi; \
        else    true; \
        fi
+       (cd $(DESTDIR)$(BINDIR); $(LN) python$(VERSION)$(EXE) $(PYTHON)3)
 
 # Install the manual page
 maninstall: