Makefile.in (palemoon-29.4.1-source.tar.xz) | : | Makefile.in (palemoon-29.4.2-source.tar.xz) | ||
---|---|---|---|---|
skipping to change at line 64 | skipping to change at line 64 | |||
endif | endif | |||
ifndef LIBXUL_SDK | ifndef LIBXUL_SDK | |||
# channel-prefs.js is handled separate from other prefs due to bug 756325 | # channel-prefs.js is handled separate from other prefs due to bug 756325 | |||
libs:: $(srcdir)/profile/channel-prefs.js | libs:: $(srcdir)/profile/channel-prefs.js | |||
$(NSINSTALL) -D $(DIST)/bin/defaults/pref | $(NSINSTALL) -D $(DIST)/bin/defaults/pref | |||
$(call py_action,preprocessor,-Fsubstitution $(PREF_PPFLAGS) $(ACDEFINES) $^ -o $(DIST)/bin/defaults/pref/channel-prefs.js) | $(call py_action,preprocessor,-Fsubstitution $(PREF_PPFLAGS) $(ACDEFINES) $^ -o $(DIST)/bin/defaults/pref/channel-prefs.js) | |||
endif | endif | |||
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT)) | ||||
MAC_APP_NAME = $(MOZ_APP_DISPLAYNAME) | ||||
ifdef MOZ_DEBUG | ||||
MAC_APP_NAME := $(MAC_APP_NAME)Debug | ||||
endif | ||||
AB_CD = $(MOZ_UI_LOCALE) | ||||
AB := $(firstword $(subst -, ,$(AB_CD))) | ||||
clean clobber repackage:: | ||||
$(RM) -r $(dist_dest) | ||||
MAC_BUNDLE_VERSION = $(shell $(PYTHON) $(srcdir)/macversion.py --version=$(MOZ_A | ||||
PP_VERSION) --buildid=$(DEPTH)/buildid.h) | ||||
.PHONY: repackage | ||||
tools repackage:: $(PROGRAM) | ||||
$(MKDIR) -p '$(dist_dest)/Contents/MacOS' | ||||
$(MKDIR) -p '$(dist_dest)/Contents/Resources/$(AB).lproj' | ||||
rsync -a --exclude '*.in' $(srcdir)/macbuild/Contents '$(dist_dest)' --ex | ||||
clude English.lproj | ||||
rsync -a --exclude '*.in' $(srcdir)/macbuild/Contents/Resources/English.l | ||||
proj/ '$(dist_dest)/Contents/Resources/$(AB).lproj' | ||||
sed -e 's/%APP_VERSION%/$(MOZ_APP_VERSION)/' -e 's/%MAC_APP_NAME%/$(MAC_A | ||||
PP_NAME)/' -e 's/%MOZ_MACBUNDLE_ID%/$(MOZ_MACBUNDLE_ID)/' -e 's/%MAC_BUNDLE_VERS | ||||
ION%/$(MAC_BUNDLE_VERSION)/' $(srcdir)/macbuild/Contents/Info.plist.in > '$(dist | ||||
_dest)/Contents/Info.plist' | ||||
sed -e 's/%MAC_APP_NAME%/$(MAC_APP_NAME)/' $(srcdir)/macbuild/Contents/Re | ||||
sources/English.lproj/InfoPlist.strings.in | iconv -f UTF-8 -t UTF-16 > '$(dist_ | ||||
dest)/Contents/Resources/$(AB).lproj/InfoPlist.strings' | ||||
rsync -a --exclude-from='$(srcdir)/macbuild/Contents/MacOS-files.in' $(DI | ||||
ST)/bin/ '$(dist_dest)/Contents/Resources' | ||||
rsync -a --include-from='$(srcdir)/macbuild/Contents/MacOS-files.in' --ex | ||||
clude '*' $(DIST)/bin/ '$(dist_dest)/Contents/MacOS' | ||||
# MacOS-files-copy.in is a list of files that should be copies rather | ||||
# than symlinks and placed in .app/Contents/MacOS. | ||||
rsync -aL --include-from='$(srcdir)/macbuild/Contents/MacOS-files-copy.in | ||||
' --exclude '*' $(DIST)/bin/ '$(dist_dest)/Contents/MacOS' | ||||
$(RM) '$(dist_dest)/Contents/MacOS/$(PROGRAM)' | ||||
rsync -aL $(PROGRAM) '$(dist_dest)/Contents/MacOS' | ||||
cp -RL $(DIST)/branding/firefox.icns '$(dist_dest)/Contents/Resources/fir | ||||
efox.icns' | ||||
cp -RL $(DIST)/branding/document.icns '$(dist_dest)/Contents/Resources/do | ||||
cument.icns' | ||||
printf APPLMOZB > '$(dist_dest)/Contents/PkgInfo' | ||||
endif | ||||
ifdef LIBXUL_SDK #{ | ifdef LIBXUL_SDK #{ | |||
ifndef SKIP_COPY_XULRUNNER #{ | ifndef SKIP_COPY_XULRUNNER #{ | |||
libs:: | libs:: | |||
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT)) #{ | ||||
rsync -a --copy-unsafe-links $(LIBXUL_DIST)/XUL.framework '$(dist_dest)/C | ||||
ontents/Frameworks' | ||||
else | ||||
$(NSINSTALL) -D $(DIST)/bin/xulrunner | $(NSINSTALL) -D $(DIST)/bin/xulrunner | |||
(cd $(LIBXUL_SDK)/bin && tar $(TAR_CREATE_FLAGS) - .) | (cd $(DIST)/bin/x ulrunner && tar -xf -) | (cd $(LIBXUL_SDK)/bin && tar $(TAR_CREATE_FLAGS) - .) | (cd $(DIST)/bin/x ulrunner && tar -xf -) | |||
endif #} cocoa | ||||
endif #} SKIP_COPY_XULRUNNER | endif #} SKIP_COPY_XULRUNNER | |||
endif #} LIBXUL_SDK | endif #} LIBXUL_SDK | |||
End of changes. 3 change blocks. | ||||
55 lines changed or deleted | 0 lines changed or added |