[Python-checkins] python/dist/src/Mac/OSX Makefile,1.37,1.38

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Tue, 11 Mar 2003 15:07:12 -0800


Update of /cvsroot/python/python/dist/src/Mac/OSX
In directory sc8-pr-cvs1:/tmp/cvs-serv26015

Modified Files:
	Makefile 
Log Message:
Add a simple Apple Help book to the framework.


Index: Makefile
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/OSX/Makefile,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** Makefile	25 Feb 2003 12:41:10 -0000	1.37
--- Makefile	11 Mar 2003 23:07:08 -0000	1.38
***************
*** 44,48 ****
  
  APPTEMPLATE=$(srcdir)/Mac/OSXResources/app
! APPSUBDIRS=MacOS Resources Resources/English.lproj
  CACHERSRC=$(srcdir)/Mac/scripts/cachersrc.py
  compileall=$(srcdir)/Lib/compileall.py
--- 44,53 ----
  
  APPTEMPLATE=$(srcdir)/Mac/OSXResources/app
! APPSUBDIRS=MacOS Resources Resources/English.lproj \
! 	Resources/English.lproj/Documentation \
! 	Resources/English.lproj/Documentation/doc \
! 	Resources/English.lproj/Documentation/macpython_ide_tutorial
! DOCDIR=$(srcdir)/Mac/OSXResources/app/Resources/English.lproj/Documentation
! DOCINDEX=$(DOCDIR)/"Documentation idx"
  CACHERSRC=$(srcdir)/Mac/scripts/cachersrc.py
  compileall=$(srcdir)/Lib/compileall.py
***************
*** 58,61 ****
--- 63,69 ----
  	
  install_Python:
+ 	@if test ! -f $(DOCINDEX); then \
+ 		echo WARNING: you should run Apple Help Indexing Tool on $(DOCDIR); \
+ 	fi
  	@for i in $(PYTHONAPPSDIR) $(APPINSTALLDIR) $(APPINSTALLDIR)/Contents; do \
  		if test ! -d $$i; then \
***************
*** 83,86 ****
--- 91,98 ----
  			*.orig) ;; \
  			*~) ;; \
+ 			*idx) \
+ 				echo $(CPMAC) "$$i" $$b; \
+ 				$(CPMAC) "$$i" $$b; \
+ 				;; \
  			*) \
  				if test -d $$i; then continue; fi; \
***************
*** 95,102 ****
  		done; \
  	done
! 	$(INSTALL_PROGRAM) $(STRIPFLAG) $(BUILDPYTHON) $(APPINSTALLDIR)/Contents/MacOS/python
! # Finally create the documentation symlink
! 	$(LN) -fsn ../../../../English.lproj/Documentation $(APPINSTALLDIR)/Contents/Resources/English.lproj/Documentation
! 	
  	
  install_IDE: $(INSTALLED_PYTHONW)
--- 107,111 ----
  		done; \
  	done
! 	$(INSTALL_PROGRAM) $(STRIPFLAG) $(BUILDPYTHON) $(APPINSTALLDIR)/Contents/MacOS/python	
  	
  install_IDE: $(INSTALLED_PYTHONW)