[vlc-commits] package-macosx: Clean old artefacts before creating new ones
David Fuhrmann
git at videolan.org
Sun Jul 2 19:39:49 CEST 2017
vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sun Jul 2 19:28:11 2017 +0200| [39e0d63793c4a85d03057202d56065893fb8b9ae] | committer: David Fuhrmann
package-macosx: Clean old artefacts before creating new ones
Otherwise creation of new dmg file will fail. Also, zip would
update an existing zip file.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=39e0d63793c4a85d03057202d56065893fb8b9ae
---
extras/package/macosx/package.mak | 2 ++
1 file changed, 2 insertions(+)
diff --git a/extras/package/macosx/package.mak b/extras/package/macosx/package.mak
index ae4e2650b5..f603e1f278 100644
--- a/extras/package/macosx/package.mak
+++ b/extras/package/macosx/package.mak
@@ -62,6 +62,7 @@ endif
package-macosx: VLC.app
+ rm -f "$(top_builddir)/vlc-$(VERSION).dmg"
if HAVE_DMGBUILD
@echo "Packaging fancy DMG using dmgbuild"
cd "$(top_srcdir)/extras/package/macosx/dmg" && dmgbuild -s "dmg_settings.py" \
@@ -82,6 +83,7 @@ else !HAVE_DMGBUILD
endif
package-macosx-zip: VLC.app
+ rm -f "$(top_builddir)/vlc-$(VERSION).zip"
mkdir -p $(top_builddir)/vlc-$(VERSION)/Goodies/
cp -R $(top_builddir)/VLC.app $(top_builddir)/vlc-$(VERSION)/VLC.app
cd $(srcdir); cp -R AUTHORS COPYING README THANKS NEWS $(abs_top_builddir)/vlc-$(VERSION)/Goodies/
More information about the vlc-commits
mailing list