summaryrefslogtreecommitdiffstats
path: root/Mac/OSX
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-08-28 21:27:02 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-08-28 21:27:02 (GMT)
commit4684a09fc5cb67d223e4dff7467813412fceeac1 (patch)
tree51c39a41103c5d1616e552d7e01f49f328972e6f /Mac/OSX
parentc58eafbe3ea21dabcbb1588eb9dbfb2faea15319 (diff)
downloadcpython-4684a09fc5cb67d223e4dff7467813412fceeac1.zip
cpython-4684a09fc5cb67d223e4dff7467813412fceeac1.tar.gz
cpython-4684a09fc5cb67d223e4dff7467813412fceeac1.tar.bz2
- Install a symlink to the documentation (which lives in the framework)
in Python.app, and refer to it in Info.plist. This makes Apple Help Viewer recognize the Python documentation. - Changed the externally visible name of Python.app to "Python" (was PythonW).
Diffstat (limited to 'Mac/OSX')
-rw-r--r--Mac/OSX/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mac/OSX/Makefile b/Mac/OSX/Makefile
index ec51d02..699407c 100644
--- a/Mac/OSX/Makefile
+++ b/Mac/OSX/Makefile
@@ -25,6 +25,7 @@ INSTALL_SYMLINK=/usr/bin/install -l as
INSTALL_PROGRAM=${INSTALL}
INSTALL_SCRIPT= ${INSTALL_PROGRAM}
INSTALL_DATA= ${INSTALL} -m 644
+LN=ln
STRIPFLAG=-s
OPT=-g -O3 -Wall -Wstrict-prototypes -Wno-long-double -no-cpp-precomp \
-fno-common -dynamic
@@ -116,6 +117,9 @@ install_Python: $(PYTHON)
fi
$(REZ) -useDF -o $(RESOURCEFILE) dialogs.r errors.r
$(INSTALL_DATA) $(RESOURCEFILE) $(APPINSTALLDIR)/Contents/Resources/$(RESOURCEFILE)
+# Finally create the documentation symlink
+ $(LN) -fsn ../../../../English.lproj/Documentation $(APPINSTALLDIR)/Contents/Resources/English.lproj/Documentation
+
install_IDE: $(INSTALLED_PYTHONW)
@if $(INSTALLED_PYTHONW) -c "import waste"; then ; else \