aboutsummaryrefslogtreecommitdiff
path: root/tools/PackageMaker
diff options
context:
space:
mode:
authordavilla <davilla@svn>2009-11-28 21:52:59 +0000
committerdavilla <davilla@svn>2009-11-28 21:52:59 +0000
commitf95e9489bb213c5f4a572fc284adde679c3eb19d (patch)
tree595959a2842daafe50457f0e5bd802f17bfb9cc7 /tools/PackageMaker
parent1863a438c665dc9b2cd71a90bb46f8e759fe3e99 (diff)
[osx] add Makefile for PackageMaker
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@25107 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'tools/PackageMaker')
-rw-r--r--tools/PackageMaker/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/PackageMaker/Makefile b/tools/PackageMaker/Makefile
new file mode 100644
index 0000000000..71da9d2ecc
--- /dev/null
+++ b/tools/PackageMaker/Makefile
@@ -0,0 +1,17 @@
+TARGET = ../../XBMC_for_Mac.dmg
+
+all: $(TARGET)
+
+include ../../Makefile.include
+
+$(TARGET): dist/XBMC.dmg
+ mv -f dist/XBMC.dmg $(TARGET)
+
+ifeq ($(findstring D_DEBUG,$(CFLAGS)), D_DEBUG)
+dist/XBMC.dmg:
+ ./dmgmaker.pl ../../build/Debug/XBMC.app
+else
+dist/XBMC.dmg:
+ ./dmgmaker.pl ../../build/Release/XBMC.app
+endif
+