From fea155370e00e58c694392dd79d47e9481897b4f Mon Sep 17 00:00:00 2001
From: Jack Jansen <jack.jansen@cwi.nl>
Date: Sun, 27 Jan 2002 20:05:20 +0000
Subject: Use full paths for Rez and DeRez, which may not be on $PATH. Fixes
 bug #509074.

---
 Mac/OSX/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/Mac/OSX/Makefile b/Mac/OSX/Makefile
index 3f5477b..9fb1420 100644
--- a/Mac/OSX/Makefile
+++ b/Mac/OSX/Makefile
@@ -18,6 +18,8 @@ LDFLAGS=-framework System -framework Python -framework Carbon \
 	-framework Foundation
 CC=cc
 LD=cc
+REZ=/Developer/Tools/Rez
+DEREZ=/Developer/Tools/DeRez
 
 OBJECTS=$(PYTHONBUILDDIR)/Mac/Python/macmain.o \
 	$(PYTHONBUILDDIR)/Mac/Python/macgetargv.o
@@ -73,9 +75,9 @@ install: pythonforbundle
 	# Create a temporary version of the resources here
 	$(PYTHON) $(RFCONVERTER) -r $(RESOURCEDIR)/dialogs.rsrc dialogs.rsrc
 	$(PYTHON) $(RFCONVERTER) -r $(RESOURCEDIR)/errors.rsrc errors.rsrc
-	DeRez -useDF -skip ckid dialogs.rsrc > dialogs.r
-	DeRez -useDF -skip ckid errors.rsrc > errors.r
-	Rez -useDF -o $(RESOURCEFILE) dialogs.r errors.r 
+	$(DEREZ) -useDF -skip ckid dialogs.rsrc > dialogs.r
+	$(DEREZ) -useDF -skip ckid errors.rsrc > errors.r
+	$(REZ) -useDF -o $(RESOURCEFILE) dialogs.r errors.r 
 	$(INSTALL_DATA) $(RESOURCEFILE) $(APPINSTALLDIR)/Contents/Resources/$(RESOURCEFILE)
 		
 LIBDEST=$(INSTALLDIR)/Mac/Lib
-- 
cgit v0.12

