]> granicus.if.org Git - handbrake/commitdiff
BuildSystem: Mac OS X - fix pkg.create to use correct minver .dmg naming
authorkonablend <kona8lend@gmail.com>
Wed, 4 Jan 2012 18:48:58 +0000 (18:48 +0000)
committerkonablend <kona8lend@gmail.com>
Wed, 4 Jan 2012 18:48:58 +0000 (18:48 +0000)
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

pkg/darwin/module.defs

index a8e8b7a8a0afb2c81e54da39248f3eb2981a77f9..1281b9cbf80cc9a31d829900e2e8bc28b9e35441 100644 (file)
@@ -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/