[vlc-commits] macosx: remove some more intermediates creating when packaging and creating the dmg

Felix Paul Kühne git at videolan.org
Mon Jan 2 13:32:17 CET 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Jan  2 13:32:08 2012 +0100| [1a821f0b718f3c4e62f1a34ff2861fc3ba9ea592] | committer: Felix Paul Kühne

macosx: remove some more intermediates creating when packaging and creating the dmg

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1a821f0b718f3c4e62f1a34ff2861fc3ba9ea592
---

 extras/package/macosx/package.mak |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/extras/package/macosx/package.mak b/extras/package/macosx/package.mak
index 9c2c3cb..d23598c 100644
--- a/extras/package/macosx/package.mak
+++ b/extras/package/macosx/package.mak
@@ -79,6 +79,8 @@ package-macosx: VLC-release.app
 	rm -f "$(top_builddir)/vlc-$(VERSION).dmg"
 	hdiutil convert "$(top_builddir)/vlc-$(VERSION)-rw.dmg" -format UDBZ -o "$(top_builddir)/vlc-$(VERSION).dmg"
 	ls -l "$(top_builddir)/vlc-$(VERSION).dmg"
+	rm -f "$(top_builddir)/vlc-$(VERSION)-rw.dmg"
+	rm -rf "$(top_builddir)/vlc-$(VERSION)"
 
 package-macosx-zip: VLC-release.app
 	mkdir -p $(top_builddir)/vlc-$(VERSION)/Goodies/
@@ -87,6 +89,7 @@ package-macosx-zip: VLC-release.app
 		$(abs_top_builddir)/vlc-$(VERSION)/Goodies/
 	cp $(srcdir)/extras/package/macosx/README.MacOSX.rtf $(top_builddir)/vlc-$(VERSION)/Read\ Me.rtf
 	zip -r -y -9 $(top_builddir)/vlc-$(VERSION).zip $(top_builddir)/vlc-$(VERSION)
+	rm -rf "$(top_builddir)/vlc-$(VERSION)"
 
 package-macosx-framework-zip:
 	mkdir -p $(top_builddir)/vlckit-$(VERSION)/Goodies/



More information about the vlc-commits mailing list