[vlc-commits] macOS package.mak: Add release archive target
David Fuhrmann
git at videolan.org
Thu Dec 28 20:45:15 CET 2017
vlc/vlc-3.0 | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Wed Dec 27 19:44:32 2017 +0100| [4aa3833bd519c79fc46be1451e091536fe3b30b3] | committer: David Fuhrmann
macOS package.mak: Add release archive target
This adds a rule to build a release archive, containing all tools
needed for codesigning and building the final dmg.
(cherry picked from commit d3871a0461dbec669a9f837a40a3e79c2f7f0ca5)
Signed-off-by: David Fuhrmann <dfuhrmann at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=4aa3833bd519c79fc46be1451e091536fe3b30b3
---
extras/package/macosx/package.mak | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/extras/package/macosx/package.mak b/extras/package/macosx/package.mak
index efdc0dc227..048a4f3840 100644
--- a/extras/package/macosx/package.mak
+++ b/extras/package/macosx/package.mak
@@ -92,6 +92,15 @@ package-macosx-zip: VLC.app
zip -r -y -9 $(top_builddir)/vlc-$(VERSION).zip $(top_builddir)/vlc-$(VERSION)
rm -rf "$(top_builddir)/vlc-$(VERSION)"
+package-macosx-release:
+ rm -f "$(top_builddir)/vlc-$(VERSION)-release.zip"
+ mkdir -p $(top_builddir)/vlc-$(VERSION)-release
+ cp -R $(top_builddir)/VLC.app $(top_builddir)/vlc-$(VERSION)-release/
+ cp $(srcdir)/extras/package/macosx/dmg/* $(top_builddir)/vlc-$(VERSION)-release/
+ cp "$(srcdir)/extras/package/macosx/codesign.sh" $(top_builddir)/vlc-$(VERSION)-release/
+ zip -r -y -9 $(top_builddir)/vlc-$(VERSION)-release.zip $(top_builddir)/vlc-$(VERSION)-release
+ rm -rf "$(top_builddir)/vlc-$(VERSION)-release"
+
package-translations:
mkdir -p "$(srcdir)/vlc-translations-$(VERSION)"
for i in `cat "$(top_srcdir)/po/LINGUAS"`; do \
@@ -111,7 +120,7 @@ package-translations:
$(AMTAR) chof - $(srcdir)/vlc-translations-$(VERSION) \
| GZIP=$(GZIP_ENV) gzip -c >$(srcdir)/vlc-translations-$(VERSION).tar.gz
-.PHONY: package-macosx package-macosx-zip package-translations pseudo-bundle
+.PHONY: package-macosx package-macosx-zip package-macosx-release package-translations pseudo-bundle
###############################################################################
# Mac OS X project
More information about the vlc-commits
mailing list