summaryrefslogtreecommitdiffstats
path: root/Mac/OSX
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-01-21 22:51:55 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-01-21 22:51:55 (GMT)
commitc71efe01160653e1d232000889fe38f6cf4936c8 (patch)
tree06c06200f239f2ccddb7b77c7d10d03d719380fa /Mac/OSX
parentaae728f29239707f6a836cfb61f84384ce3f476f (diff)
downloadcpython-c71efe01160653e1d232000889fe38f6cf4936c8.zip
cpython-c71efe01160653e1d232000889fe38f6cf4936c8.tar.gz
cpython-c71efe01160653e1d232000889fe38f6cf4936c8.tar.bz2
Also install the Tools directory on "make installmacsubtree".
Diffstat (limited to 'Mac/OSX')
-rw-r--r--Mac/OSX/Makefile41
1 files changed, 40 insertions, 1 deletions
diff --git a/Mac/OSX/Makefile b/Mac/OSX/Makefile
index d11f703..3f5477b 100644
--- a/Mac/OSX/Makefile
+++ b/Mac/OSX/Makefile
@@ -83,8 +83,11 @@ LIBSRC=$(PYTHONBUILDDIR)/Mac/Lib
LIBSUBDIRS=Carbon lib-scriptpackages lib-scriptpackages/CodeWarrior lib-scriptpackages/Explorer \
lib-scriptpackages/Finder lib-scriptpackages/Netscape lib-scriptpackages/StdSuites \
mkcwproject mkcwproject/template mkcwproject/template-carbon mkcwproject/template-ppc
+TOOLSDEST=$(INSTALLDIR)/Mac/Tools
+TOOLSSRC=$(PYTHONBUILDDIR)/Mac/Tools
+TOOLSSUBDIRS=IDE
installmacsubtree:
- @for i in $(LIBDEST); \
+ @for i in $(LIBDEST) $(TOOLSDEST); \
do \
if test ! -d $$i; then \
echo "Creating directory $$i"; \
@@ -137,6 +140,42 @@ installmacsubtree:
esac; \
done; \
done
+ @for d in $(TOOLSSUBDIRS); \
+ do \
+ a=$(TOOLSSRC)/$$d; \
+ if test ! -d $$a; then continue; else true; fi; \
+ b=$(TOOLSDEST)/$$d; \
+ if test ! -d $$b; then \
+ echo "Creating directory $$b"; \
+ $(INSTALL) -d -m $(DIRMODE) $$b; \
+ else true; \
+ fi; \
+ done
+ @for d in $(TOOLSSUBDIRS); \
+ do \
+ a=$(TOOLSSRC)/$$d; \
+ if test ! -d $$a; then continue; else true; fi; \
+ b=$(TOOLSDEST)/$$d; \
+ for i in $$a/*; \
+ do \
+ case $$i in \
+ *CVS) ;; \
+ *.py[co]) ;; \
+ *.orig) ;; \
+ *~) ;; \
+ *) \
+ if test -d $$i; then continue; fi; \
+ if test -x $$i; then \
+ echo $(INSTALL_SCRIPT) $$i $$b; \
+ $(INSTALL_SCRIPT) $$i $$b; \
+ else \
+ echo $(INSTALL_DATA) $$i $$b; \
+ $(INSTALL_DATA) $$i $$b; \
+ fi;; \
+ esac; \
+ done; \
+ done
+
@echo '** Copy the contents of sample_sitecustomize.py (or similar code) into'
@echo '**' $(INSTALLDIR)/lib/python2.2/sitecustomize.py