зеркало из https://github.com/mozilla/pjs.git
FizillaMach: Create MozillaDebug.app for DEBUG builds rather than Mozilla.app. b=109939 r=pinkerton sr=sfraser
This commit is contained in:
Родитель
460588df4b
Коммит
df7f6c5a77
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче