[vlc-commits] commit: win32 package: do not package mozilla plugin if we' re not building it ( Rafaël Carré )
git at videolan.org
git at videolan.org
Mon Oct 11 15:50:58 CEST 2010
vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Mon Oct 11 15:50:38 2010 +0200| [42850ecfa2401d3a6dacea664936b657ae002f13] | committer: Rafaël Carré
win32 package: do not package mozilla plugin if we're not building it
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=42850ecfa2401d3a6dacea664936b657ae002f13
---
Makefile.am | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index d28c3cb..aeb3d01 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -837,6 +837,7 @@ package-win-base: package-win-common
done
package-win32-webplugin-common: package-win-base
+if BUILD_MOZILLA
mkdir -p "$(win32_xpi_destdir)/plugins"
find $(destdir) -maxdepth 4 -name "*$(LIBEXT)" -exec cp {} "$(win32_xpi_destdir)/" \;
cp $(top_srcdir)/projects/mozilla/npvlc.dll.manifest "$(win32_xpi_destdir)/plugins"
@@ -844,15 +845,20 @@ package-win32-webplugin-common: package-win-base
cp -r $(win32_destdir)/plugins/ "$(win32_xpi_destdir)/plugins"
rm -rf "$(win32_xpi_destdir)/plugins/plugins/*qt*"
rm -rf "$(win32_xpi_destdir)/plugins/plugins/*skins*"
+endif
package-win32-xpi: package-win32-webplugin-common
+if BUILD_MOZILLA
cp $(top_builddir)/projects/mozilla/install.rdf "$(win32_xpi_destdir)"
cd $(win32_xpi_destdir) && zip -r "../vlc-$(VERSION).xpi" install.rdf plugins
+endif
package-win32-crx: package-win32-webplugin-common
+if BUILD_MOZILLA
cp $(top_builddir)/projects/mozilla/manifest.json "$(win32_xpi_destdir)"
crxmake --pack-extension "$(win32_xpi_destdir)" \
--extension-output "$(win32_destdir)/vlc-$(VERSION).crx" --ignore-file install.rdf
+endif
package-win32-base-exe: package-win-base
# Script installer
More information about the vlc-commits
mailing list