[Python-Dev] hard linking executables

Antoine Pitrou solipsis at pitrou.net
Wed Jul 27 00:19:12 CEST 2011


Ok, apparently the decision to make hard links for executables dates at
least back to:

changeset:   16221:588691f806f4
branch:      legacy-trunk
user:        Neil Schemenauer <nascheme at enme.ucalgary.ca>
date:        Wed Jan 24 17:11:43 2001 +0000
files:       Makefile.pre.in
description:
Flat makefile based on toplevel Makefile.in and makefiles in build
subdirectories.  Those other makefiles will go away eventually.

[...]

+# Install the interpreter (by creating a hard link to python$(VERSION))
+bininstall:    altbininstall
+       -if test -f $(BINDIR)/$(PYTHON); \
+       then rm -f $(BINDIR)/$(PYTHON); \
+       else true; \
+       fi
+       (cd $(BINDIR); $(LN) python$(VERSION)$(EXEEXT) python$(EXEEXT))
+


Regards

Antoine.




More information about the Python-Dev mailing list