1 # vim:set ts=8 sw=8 sts=8 noet:
2 # This Source Code Form is subject to the terms of the Mozilla Public
3 # License, v. 2.0. If a copy of the MPL was not distributed with this
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 # For changes here, also consider ./updater-xpcshell/Makefile.in
8 # This is how the xpcshellCertificate.der file is generated, in case we ever
9 # have to regenerate it.
10 # ./certutil -L -d modules/libmar/tests/unit/data -n mycert -r > xpcshellCertificate.der
11 xpcshellCert.h
: xpcshellCertificate.der
15 $(NSINSTALL
) -D
$(DIST
)/bin
/icons
16 $(INSTALL
) $(IFLAGS1
) $^
$(DIST
)/bin
/icons
19 ifeq (cocoa
,$(MOZ_WIDGET_TOOLKIT
))
21 $(NSINSTALL
) -D
$(DIST
)/bin
/updater.app
22 rsync
-a
-C
--exclude
'*.in' $(srcdir)/macbuild
/Contents
$(DIST
)/bin
/updater.app
23 sed
-e
's/%APP_NAME%/$(MOZ_APP_DISPLAYNAME)/' $(srcdir)/macbuild
/Contents
/Resources
/English.lproj
/InfoPlist.strings.in | \
24 iconv
-f UTF-8
-t UTF-16
> $(DIST
)/bin
/updater.app
/Contents
/Resources
/English.lproj
/InfoPlist.strings
25 $(NSINSTALL
) -D
$(DIST
)/bin
/updater.app
/Contents
/MacOS
26 $(NSINSTALL
) $(DIST
)/bin
/updater
$(DIST
)/bin
/updater.app
/Contents
/MacOS
27 rm -f
$(DIST
)/bin
/updater