summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-08-04 21:17:20 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-08-04 21:17:20 (GMT)
commitc736b8df098b799549f28cdba67ca5fc8cd74679 (patch)
treef8995bf9d07f4402f8b0d16a6d356c123d805a09 /Makefile.pre.in
parent04d80f87d7c470222eccf4e3b83ebd3e09624e7e (diff)
downloadcpython-c736b8df098b799549f28cdba67ca5fc8cd74679.zip
cpython-c736b8df098b799549f28cdba67ca5fc8cd74679.tar.gz
cpython-c736b8df098b799549f28cdba67ca5fc8cd74679.tar.bz2
Use the -n option of ln in stead of -h, as it also works with other ln's
people may have (fink, gnu).
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in18
1 files changed, 9 insertions, 9 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 5ab5b14..608f05e 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -366,10 +366,10 @@ $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK): \
$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/Resources/version.plist
$(INSTALL_DATA) $(RESSRCDIR)/English.lproj/InfoPlist.strings \
$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/Resources/English.lproj/InfoPlist.strings
- $(LN) -fsh $(VERSION) $(PYTHONFRAMEWORKDIR)/Versions/Current
- $(LN) -fsh Versions/Current/Python $(PYTHONFRAMEWORKDIR)/Python
- $(LN) -fsh Versions/Current/Headers $(PYTHONFRAMEWORKDIR)/Headers
- $(LN) -fsh Versions/Current/Resources $(PYTHONFRAMEWORKDIR)/Resources
+ $(LN) -fsn $(VERSION) $(PYTHONFRAMEWORKDIR)/Versions/Current
+ $(LN) -fsn Versions/Current/Python $(PYTHONFRAMEWORKDIR)/Python
+ $(LN) -fsn Versions/Current/Headers $(PYTHONFRAMEWORKDIR)/Headers
+ $(LN) -fsn Versions/Current/Resources $(PYTHONFRAMEWORKDIR)/Resources
# This rule builds the Cygwin Python DLL
libpython$(VERSION).dll.a: $(LIBRARY_OBJS)
@@ -785,15 +785,15 @@ frameworkinfrastructureinstall: $(LDLIBRARY)
else true; \
fi; \
done
- $(LN) -sf $(INCLUDEPY) $(FRAMEWORKFINALDEST)/Headers
+ $(LN) -fsn include/python$(VERSION) $(FRAMEWORKFINALDEST)/Headers
$(INSTALL_DATA) $(RESSRCDIR)/Info.plist $(FRAMEWORKFINALDEST)/Resources/Info.plist
$(INSTALL_DATA) $(RESSRCDIR)/version.plist $(FRAMEWORKFINALDEST)/Resources/version.plist
$(INSTALL_DATA) $(RESSRCDIR)/English.lproj/InfoPlist.strings \
$(FRAMEWORKFINALDEST)/Resources/English.lproj/InfoPlist.strings
- $(LN) -fsh $(VERSION) $(PYTHONFRAMEWORKINSTALLDIR)/Versions/Current
- $(LN) -fsh Versions/Current/Python $(PYTHONFRAMEWORKINSTALLDIR)/Python
- $(LN) -fsh Versions/Current/Headers $(PYTHONFRAMEWORKINSTALLDIR)/Headers
- $(LN) -fsh Versions/Current/Resources $(PYTHONFRAMEWORKINSTALLDIR)/Resources
+ $(LN) -fsn $(VERSION) $(PYTHONFRAMEWORKINSTALLDIR)/Versions/Current
+ $(LN) -fsn Versions/Current/Python $(PYTHONFRAMEWORKINSTALLDIR)/Python
+ $(LN) -fsn Versions/Current/Headers $(PYTHONFRAMEWORKINSTALLDIR)/Headers
+ $(LN) -fsn Versions/Current/Resources $(PYTHONFRAMEWORKINSTALLDIR)/Resources
$(INSTALL_DATA) $(LDLIBRARY) $(PYTHONFRAMEWORKPREFIX)/$(LDLIBRARY)
# Build Python executable that can run GUI code. Another MacOSX pseudo