From 0bf89973917584b880be05fb62ccc27be582abc0 Mon Sep 17 00:00:00 2001 From: Damien Fouilleul Date: Sun, 30 Apr 2006 17:40:34 +0000 Subject: [PATCH] - MacOS X: bundle 'VLC Internet Plug-In' package into a disk image for online distribution --- Makefile.am | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 65a321e7ec..cee5f579f4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -856,7 +856,8 @@ package-macosx: package-macosx-plugin: if BUILD_MOZILLA - rm -rf "$(top_builddir)/macosx-plugin-instdata/" +# Create Installer + rm -rf "$(top_builddir)/macosx-plugin-instdata/"; true mkdir -p "$(top_builddir)/macosx-plugin-instdata" cp -R "$(top_builddir)/mozilla/VLC Plugin.plugin" "$(top_builddir)/macosx-plugin-instdata" rm -rf "$(top_builddir)/VLC Internet Plug-In.pkg" @@ -865,6 +866,17 @@ if BUILD_MOZILLA -i "$(srcdir)/extras/MacOSX/plugin/InstallerInfo.plist" \ -d "$(srcdir)/extras/MacOSX/plugin/InstallerDescription.plist"; true rm -rf "$(top_builddir)/macosx-plugin-instdata/" + +# Create disk image + rm -f "$(top_builddir)/vlc-plugin-${VERSION}.dmg"; true + rm -rf "$(top_builddir)/vlc-plugin-${VERSION}/"; true + mkdir -p "$(top_builddir)/vlc-plugin-${VERSION}/" + mv "$(top_builddir)/VLC Internet Plug-In.pkg" "$(top_builddir)/vlc-plugin-${VERSION}/" + hdiutil create -srcfolder "$(top_builddir)/vlc-plugin-${VERSION}" \ + "$(top_builddir)/vlc-plugin-${VERSION}.dmg" -format UDZO \ + -scrub -imagekey zlib-level=9 ; + echo "Disk image creation completed:" + rm -rf "$(top_builddir)/vlc-plugin-${VERSION}" endif package-translations: -- 2.39.5