[Python-checkins] python/dist/src/Mac/OSX Makefile,1.24,1.25

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Mon, 02 Sep 2002 05:16:02 -0700


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

Modified Files:
	Makefile 
Log Message:
Pass -x badsyntax to compileall.
Tweaks to make builds work for non-standard dstroot.


Index: Makefile
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/OSX/Makefile,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** Makefile	30 Aug 2002 15:14:02 -0000	1.24
--- Makefile	2 Sep 2002 12:16:00 -0000	1.25
***************
*** 6,12 ****
  builddir = ../..
  srcdir = ../..
- LIBDEST=$(prefix)/lib/python$(VERSION)
- prefix=/Library/Frameworks/Python.framework/Versions/$(VERSION)
  dstroot=/.
  
  # These are normally glimpsed from the previous set
--- 6,12 ----
  builddir = ../..
  srcdir = ../..
  dstroot=/.
+ prefix=$(dstroot)/Library/Frameworks/Python.framework/Versions/$(VERSION)
+ LIBDEST=$(prefix)/lib/python$(VERSION)
  
  # These are normally glimpsed from the previous set
***************
*** 262,267 ****
  
  	$(PYTHON) $(CACHERSRC) -v $(MACLIBDEST) $(MACTOOLSDEST)
! 	$(INSTALLED_PYTHON) $(srcdir)/Lib/compileall.py $(MACLIBDEST) $(MACTOOLSDEST)
! 	$(INSTALLED_PYTHON) -O $(srcdir)/Lib/compileall.py $(MACLIBDEST) $(MACTOOLSDEST)
  
  	
--- 262,267 ----
  
  	$(PYTHON) $(CACHERSRC) -v $(MACLIBDEST) $(MACTOOLSDEST)
! 	$(INSTALLED_PYTHON) -Wi -tt $(srcdir)/Lib/compileall.py -x badsyntax $(MACLIBDEST) $(MACTOOLSDEST)
! 	$(INSTALLED_PYTHON) -O -Wi -tt $(srcdir)/Lib/compileall.py -x badsyntax $(MACLIBDEST) $(MACTOOLSDEST)