[Python-checkins] r58043 - python/trunk/Makefile.pre.in
georg.brandl
python-checkins at python.org
Fri Sep 7 22:10:50 CEST 2007
Author: georg.brandl
Date: Fri Sep 7 22:10:49 2007
New Revision: 58043
Modified:
python/trunk/Makefile.pre.in
Log:
#1095: ln -f doesn't work portably, fix in Makefile.
Modified: python/trunk/Makefile.pre.in
==============================================================================
--- python/trunk/Makefile.pre.in (original)
+++ python/trunk/Makefile.pre.in Fri Sep 7 22:10:49 2007
@@ -660,7 +660,8 @@
else true; \
fi
(cd $(DESTDIR)$(BINDIR); $(LN) python$(VERSION)$(EXE) $(PYTHON))
- (cd $(DESTDIR)$(BINDIR); $(LN) -sf python$(VERSION)-config python-config)
+ -rm -f $(DESTDIR)$(BINDIR)/python-config
+ (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python-config)
# Install the interpreter with $(VERSION) affixed
# This goes into $(exec_prefix)
More information about the Python-checkins
mailing list