Remove existing DMG if one exists, so that hdiutil will not fail.

Subversion-branch: /launcher
Subversion-revision: 1778
This commit is contained in:
Simon Howard 2010-01-04 15:34:00 +00:00
parent f6010c7af5
commit 473dad80b4

View file

@ -7,6 +7,7 @@ DMG=$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).dmg
# DMG file containing package:
$(DMG) : $(STAGING_DIR)
rm -f $@
hdiutil create -volname "$(PACKAGE_STRING)" -srcdir $(STAGING_DIR) $@
clean : launcher_clean