# 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/.
PACKAGE = $(PKG_PATH)$(PKG_BASENAME)$(PKG_SUFFIX)
ifneq (,$(PGO_JARLOG_PATH)) # The backslash subst is to work around an issue with our version of mozmake, # where backslashes get slurped in command-line arguments if a command is run # with a double-quote character. The command to packager.py happens to be one # of these commands, where double-quotes appear in certain ACDEFINES values. # This turns a jarlog path like "Z:\task..." into "Z:task", which fails. # Switching the backslashes for forward slashes works around the issue.
JARLOG_FILE_AB_CD = $(subst \,/,$(PGO_JARLOG_PATH)) else
JARLOG_FILE_AB_CD = $(topobjdir)/jarlog/$(AB_CD).log endif
# If a manifest has not been supplied, the following # files should be excluded from the package too
ifndef MOZ_PKG_MANIFEST
NO_PKG_FILES += ssltunnel* endif
# The following target stages files into two directories: one directory for # core files, and one for optional extensions based on the information in # the MOZ_PKG_MANIFEST file.
PKG_ARG = , '$(pkg)'
ifndef MOZ_PACKAGER_FORMAT
MOZ_PACKAGER_FORMAT = $(error MOZ_PACKAGER_FORMAT is not set) endif
# These are necessary because some of our packages/installers contain spaces # in their filenames and GNU Make's $(wildcard) function doesn't properly # deal with them.
empty :=
space = $(empty) $(empty)
QUOTED_WILDCARD = $(if $(wildcard $(subst $(space),?,$(1))),'$(1)')
ESCAPE_SPACE = $(subst $(space),\$(space),$(1))
ESCAPE_WILDCARD = $(subst $(space),?,$(1))
# This variable defines which OpenSSL algorithm to use to # generate checksums for files that we upload
CHECKSUM_ALGORITHM_PARAM = -d sha512 -d md5 -d sha1
# This variable defines where the checksum file will be located
CHECKSUM_FILE = '$(ABS_DIST)/$(PKG_PATH)/$(CHECKSUMS_FILE_BASENAME).checksums'
# Upload MAR tools only if AB_CD is unset or en_US ifeq (,$(AB_CD:en-US=)) ifeq (WINNT,$(OS_TARGET))
UPLOAD_EXTRA_FILES += host/bin/mar.exe
UPLOAD_EXTRA_FILES += host/bin/mbsdiff.exe else
UPLOAD_EXTRA_FILES += host/bin/mar
UPLOAD_EXTRA_FILES += host/bin/mbsdiff endif endif
# Upload `.xpt` artifacts for use in artifact builds.
UPLOAD_FILES += $(call QUOTED_WILDCARD,$(DIST)/$(PKG_PATH)$(XPT_ARTIFACTS_ARCHIVE_BASENAME).zip) # Upload update-related macOS framework artifacts for use in artifact builds. ifeq ($(OS_ARCH),Darwin)
UPLOAD_FILES += $(call QUOTED_WILDCARD,$(DIST)/$(PKG_PATH)$(UPDATE_FRAMEWORK_ARTIFACTS_ARCHIVE_BASENAME).zip) endif# Darwin
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.