[Python-checkins] python/dist/src Makefile.pre.in,1.96,1.97

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Fri, 09 Aug 2002 07:43:00 -0700


Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv24667

Modified Files:
	Makefile.pre.in 
Log Message:
When installing the "python" link in bindir also test for a pre-existing
symlink and remove it.


Index: Makefile.pre.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/Makefile.pre.in,v
retrieving revision 1.96
retrieving revision 1.97
diff -C2 -d -r1.96 -r1.97
*** Makefile.pre.in	9 Aug 2002 00:18:21 -0000	1.96
--- Makefile.pre.in	9 Aug 2002 14:42:57 -0000	1.97
***************
*** 561,565 ****
  # 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; \
--- 561,565 ----
  # Install the interpreter (by creating a hard link to python$(VERSION))
  bininstall:	altbininstall
! 	-if test -f $(BINDIR)/$(PYTHON) -o -L $(BINDIR)/$(PYTHON); \
  	then rm -f $(BINDIR)/$(PYTHON); \
  	else true; \