[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 17:20:04 CET 2012


vlc/vlc-1.2 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Jan  2 13:32:08 2012 +0100| [0ad8e3307884f0bb08947662986b6cbd93c9c1f1] | committer: Jean-Baptiste Kempf

macosx: remove some more intermediates creating when packaging and creating the dmg
(cherry picked from commit 1a821f0b718f3c4e62f1a34ff2861fc3ba9ea592)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=0ad8e3307884f0bb08947662986b6cbd93c9c1f1
---

 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 91bf22a..6831f47 100644
--- a/extras/package/macosx/package.mak
+++ b/extras/package/macosx/package.mak
@@ -80,6 +80,8 @@ package-macosx: VLC-release.app ChangeLog
 	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 ChangeLog
 	mkdir -p $(top_builddir)/vlc-$(VERSION)/Goodies/
@@ -89,6 +91,7 @@ package-macosx-zip: VLC-release.app ChangeLog
 		$(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: ChangeLog
 	mkdir -p $(top_builddir)/vlckit-$(VERSION)/Goodies/



More information about the vlc-commits mailing list