Commit 39e0d637 authored by David Fuhrmann's avatar 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.
parent 3a28c6ab
......@@ -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/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment