moz.build (793B)
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- 2 # vim: set filetype=python: 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7 DEFINES["APP_VERSION"] = CONFIG["MOZ_APP_VERSION"] 8 9 DEFINES["MOZ_APP_NAME"] = CONFIG["MOZ_APP_NAME"] 10 DEFINES["MOZ_APP_DISPLAYNAME"] = CONFIG["MOZ_APP_DISPLAYNAME"] 11 DEFINES["MOZILLA_VERSION"] = CONFIG["MOZILLA_VERSION"] 12 13 # Turn `firefox` into `Firefox`. 14 DEFINES["MOZ_TOAST_APP_NAME"] = "%s" % CONFIG["MOZ_APP_NAME"].title() 15 16 if CONFIG["MOZ_DEFAULT_BROWSER_AGENT"]: 17 DEFINES["MOZ_DEFAULT_BROWSER_AGENT"] = CONFIG["MOZ_DEFAULT_BROWSER_AGENT"] 18 19 SPHINX_TREES["installer"] = "docs" 20 21 DIRS += [ 22 "nsis", 23 ]