view Mac/BuildScript/scripts/postflight.documentation @ 49381:b9afa7c9cc35 legacy-trunk

we're in 2.7 now
author Benjamin Peterson <benjamin@python.org>
date Thu, 02 Oct 2008 19:00:31 +0000
parents b9d3301e5f19
children bb757facbfa6
line wrap: on
line source

#!/bin/sh

PYVER="@PYVER@"

if [ -d /Developer/Documentation ]; then
	if [ ! -d /Developer/Documentation/Python ]; then
		mkdir -p /Developer/Documentation/Python
	fi

	ln -fhs /Library/Frameworks/Python.framework/Versions/${PYVER}/Resources/English.lproj/Documentation "/Developer/Documentation/Python/Reference Documentation @PYVER@"
fi