aboutsummaryrefslogtreecommitdiff
path: root/tools/PackageMaker/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/PackageMaker/Makefile')
-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
+