From df7f6c5a778b1a355dceb0bb70cb9d5c201e6469 Mon Sep 17 00:00:00 2001 From: "dbaron%fas.harvard.edu" Date: Wed, 14 Nov 2001 01:45:03 +0000 Subject: [PATCH] FizillaMach: Create MozillaDebug.app for DEBUG builds rather than Mozilla.app. b=109939 r=pinkerton sr=sfraser --- xpfe/bootstrap/Makefile.in | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/xpfe/bootstrap/Makefile.in b/xpfe/bootstrap/Makefile.in index e85336b79ad..14b481832de 100644 --- a/xpfe/bootstrap/Makefile.in +++ b/xpfe/bootstrap/Makefile.in @@ -300,10 +300,18 @@ nsStaticComponents.cpp: nsStaticComponents.cpp.in Makefile Makefile.in $(FINAL_L > $@ ifeq ($(MOZ_WIDGET_TOOLKIT),mac) -install:: $(PROGRAM) - rm -rf $(DIST)/Mozilla.app - mkdir $(DIST)/Mozilla.app - cp -R $(srcdir)/macbuild/Contents $(DIST)/Mozilla.app - cp -RL $(DIST)/bin $(DIST)/Mozilla.app/Contents/MacOS + +ifdef MOZ_DEBUG +APP_NAME = MozillaDebug +else +APP_NAME = Mozilla +endif + +install:: $(PROGRAM) + rm -rf $(DIST)/$(APP_NAME).app + mkdir $(DIST)/$(APP_NAME).app + cp -R $(srcdir)/macbuild/Contents $(DIST)/$(APP_NAME).app + cp -RL $(DIST)/bin $(DIST)/$(APP_NAME).app/Contents/MacOS + endif