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

Rafaël Carré rafael.carre at gmail.com
Mon Jan 2 19:24:04 CET 2012


Le 2012-01-02 07:32, Felix Paul Kühne a écrit :
> 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

I don't see the point of removing intermediates, neither in
0c1d889772c303da34ea305bf808bc03ad5755df

IIRC we discussed this on IRC already.

If you want to spare your hard disk, run make distclean

> 
>> 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)"



More information about the vlc-devel mailing list