]> git.sesse.net Git - vlc/commitdiff
fix win32 webplugin packaging
authorRafaël Carré <funman@videolan.org>
Sun, 20 Nov 2011 19:05:56 +0000 (14:05 -0500)
committerRafaël Carré <funman@videolan.org>
Sun, 20 Nov 2011 19:05:56 +0000 (14:05 -0500)
extras/package/win32/package.mak

index 411cf676ce2d990c725bed486846a713e65314b7..3ba703c47e5e64e1668429ce3bd62798b04649f1 100644 (file)
@@ -112,6 +112,7 @@ package-win-strip: package-win-common
 
 
 package-win32-webplugin-common: package-win-strip
+       mkdir -p "$(win32_xpi_destdir)/"
        cp -r $(win32_destdir)/plugins/ "$(win32_xpi_destdir)/"
        find $(prefix) -maxdepth 4 -name "*$(LIBEXT)" -exec cp {} "$(win32_xpi_destdir)/" \;
        cp $(top_builddir)/npapi-vlc/npapi/npvlc.dll.manifest "$(win32_xpi_destdir)/plugins/"
@@ -121,12 +122,12 @@ package-win32-webplugin-common: package-win-strip
 
 
 package-win32-xpi: package-win32-webplugin-common
-       cp $(top_builddir)/npapi-vlc/npapi/install.rdf "$(win32_xpi_destdir)"
+       cp $(top_builddir)/npapi-vlc/npapi/install.rdf "$(win32_xpi_destdir)/"
        cd $(win32_xpi_destdir) && zip -r "../vlc-$(VERSION).xpi" install.rdf plugins
 
 
 package-win32-crx: package-win32-webplugin-common
-       cp $(top_builddir)/npapi-vlc/npapi/manifest.json "$(win32_xpi_destdir)"
+       cp $(top_builddir)/npapi-vlc/npapi/manifest.json "$(win32_xpi_destdir)/"
        crxmake --pack-extension "$(win32_xpi_destdir)" \
                --extension-output "$(win32_destdir)/vlc-$(VERSION).crx" --ignore-file install.rdf