summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkonablend <[email protected]>2012-01-04 18:48:58 +0000
committerkonablend <[email protected]>2012-01-04 18:48:58 +0000
commitaf9c16ff2657a0ef52b1fad917e938e0401bc728 (patch)
tree7cc4fc7d64e6a368f15a55a5a006f3c569bc3f25
parent4419bead26a230864cf1224f692976871edf0917 (diff)
BuildSystem: Mac OS X - fix pkg.create to use correct minver .dmg naming
Replace hardcoded .5 naming for product .dmg files with value derived from $(GCC.minver) or blank if none is specified. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4397 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--pkg/darwin/module.defs10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkg/darwin/module.defs b/pkg/darwin/module.defs
index a8e8b7a8a..1281b9cbf 100644
--- a/pkg/darwin/module.defs
+++ b/pkg/darwin/module.defs
@@ -1,8 +1,10 @@
-PKG.cli.dmg = $(PKG.out/)$(HB.name)-$(HB.version)-MacOSX.5_CLI_$(BUILD.arch).dmg
-PKG.gui.dmg = $(PKG.out/)$(HB.name)-$(HB.version)-MacOSX.5_GUI_$(BUILD.arch).dmg
+PKG.platname = MacOSX$(suffix $(GCC.minver))
-PKG.cli.tmp.dmg = $(PKG.out/)$(HB.name)-$(HB.version)-MacOSX.5_CLI_$(BUILD.arch).tmp.dmg
-PKG.gui.tmp.dmg = $(PKG.out/)$(HB.name)-$(HB.version)-MacOSX.5_GUI_$(BUILD.arch).tmp.dmg
+PKG.cli.dmg = $(PKG.out/)$(HB.name)-$(HB.version)-$(PKG.platname)_CLI_$(BUILD.arch).dmg
+PKG.gui.dmg = $(PKG.out/)$(HB.name)-$(HB.version)-$(PKG.platname)_GUI_$(BUILD.arch).dmg
+
+PKG.cli.tmp.dmg = $(PKG.out/)$(HB.name)-$(HB.version)-$(PKG.platname)_CLI_$(BUILD.arch).tmp.dmg
+PKG.gui.tmp.dmg = $(PKG.out/)$(HB.name)-$(HB.version)-$(PKG.platname)_GUI_$(BUILD.arch).tmp.dmg
STAGE.out.cli/ = $(STAGE.out/)cli/
STAGE.out.gui/ = $(STAGE.out/)gui/