2007-07-25 05:05:54 +04:00
|
|
|
# vim:set ts=8 sw=8 sts=8 noet:
|
2012-05-21 15:12:37 +04:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2007-07-25 05:05:54 +04:00
|
|
|
|
2015-11-26 02:38:16 +03:00
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
|
|
MOZ_WINCONSOLE = 0
|
|
|
|
endif
|
|
|
|
|
2007-07-25 05:05:54 +04:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2007-07-25 05:06:00 +04:00
|
|
|
|
|
|
|
ifeq ($(OS_ARCH),Darwin)
|
|
|
|
libs::
|
|
|
|
$(NSINSTALL) -D $(DIST)/bin/crashreporter.app
|
2013-12-03 01:34:21 +04:00
|
|
|
rsync -a -C --exclude '*.in' $(srcdir)/macbuild/Contents $(DIST)/bin/crashreporter.app
|
|
|
|
sed -e 's/%APP_NAME%/$(MOZ_APP_DISPLAYNAME)/' $(srcdir)/macbuild/Contents/Resources/English.lproj/InfoPlist.strings.in | \
|
2007-07-25 05:06:00 +04:00
|
|
|
iconv -f UTF-8 -t UTF-16 > $(DIST)/bin/crashreporter.app/Contents/Resources/English.lproj/InfoPlist.strings
|
|
|
|
$(NSINSTALL) -D $(DIST)/bin/crashreporter.app/Contents/MacOS
|
|
|
|
$(NSINSTALL) $(DIST)/bin/crashreporter $(DIST)/bin/crashreporter.app/Contents/MacOS
|
|
|
|
endif
|