aboutsummaryrefslogtreecommitdiff
path: root/tools/darwin/packaging/xbmc-osx/Makefile
blob: d1d0b80df014bdfb27b367735ccc92c638369def (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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:
	if [ -e "/Volumes/XBMC" ] ; then umount /Volumes/XBMC ; fi
	./dmgmaker.pl ../../../../build/Debug/XBMC.app
else
dist/XBMC.dmg:
	if [ -e "/Volumes/XBMC" ] ; then umount /Volumes/XBMC ; fi
	./dmgmaker.pl ../../../../build/Release/XBMC.app
endif