From a0761fb15104e7120ed69de9da0a0c7d491ce27b Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Sat, 3 Jul 2010 16:17:07 +0200 Subject: [PATCH] Win32: no need for activex and mozilla folder. --- Makefile.am | 16 ++++++++-------- extras/package/win32/vlc.win32.nsi.in | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Makefile.am b/Makefile.am index 94485d5a8d..9a33c3ebe6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -803,16 +803,12 @@ if BUILD_OSDMENU done endif if BUILD_MOZILLA - mkdir -p "$(win32_destdir)/mozilla" - cp $(top_builddir)/projects/mozilla/.libs/npvlc$(LIBEXT) $(win32_destdir)/mozilla/ - cp $(top_srcdir)/projects/mozilla/npvlc.dll.manifest $(win32_destdir)/mozilla/ + cp $(top_builddir)/projects/mozilla/.libs/npvlc$(LIBEXT) $(win32_destdir) + cp $(top_srcdir)/projects/mozilla/npvlc.dll.manifest $(win32_destdir) endif if BUILD_ACTIVEX - mkdir -p "$(win32_destdir)/activex" - cp $(srcdir)/projects/activex/README.TXT $(win32_destdir)/activex/ - cp $(srcdir)/projects/activex/test.html $(win32_destdir)/activex/ - cp $(top_builddir)/projects/activex/.libs/axvlc$(LIBEXT) $(win32_destdir)/activex/ - cp $(top_srcdir)/projects/activex/axvlc.dll.manifest $(win32_destdir)/activex/ + cp $(top_builddir)/projects/activex/.libs/axvlc$(LIBEXT) $(win32_destdir) + cp $(top_srcdir)/projects/activex/axvlc.dll.manifest $(win32_destdir) endif # SDK @@ -822,6 +818,10 @@ endif cp -r $(destdir)/lib/pkgconfig "$(win32_destdir)/sdk/lib" for file in libvlc.dll.a libvlc.la libvlccore.dll.a libvlccore.la; do \ cp -r $(destdir)/lib/$$file "$(win32_destdir)/sdk/lib"; done +if BUILD_ACTIVEX + cp $(srcdir)/projects/activex/README.TXT $(win32_destdir)/sdk/ + cp $(srcdir)/projects/activex/test.html $(win32_destdir)/sdk/ +endif find $(win32_destdir) -name "*xml" -or -name "*html" -or -name '*js' -or -name '*css' -or -name '*hosts' -or -iname '*txt' -or -name '*.cfg' -or -name '*lua' -exec unix2dos {} \; diff --git a/extras/package/win32/vlc.win32.nsi.in b/extras/package/win32/vlc.win32.nsi.in index 60d6f23388..82e5087278 100644 --- a/extras/package/win32/vlc.win32.nsi.in +++ b/extras/package/win32/vlc.win32.nsi.in @@ -608,8 +608,8 @@ Section /o $Name_Section03 SEC03 SetOutPath "$INSTDIR" !insertmacro OpenUninstallLog - !insertmacro InstallFile mozilla\npvlc.dll - !insertmacro InstallFile mozilla\npvlc.dll.manifest + !insertmacro InstallFile npvlc.dll + !insertmacro InstallFile npvlc.dll.manifest !insertmacro CloseUninstallLog !define Moz "SOFTWARE\MozillaPlugins\@videolan.org/vlc,version=${VERSION}" @@ -627,8 +627,8 @@ Section $Name_Section04 SEC04 SetOutPath "$INSTDIR" !insertmacro OpenUninstallLog - !insertmacro InstallFile activex\axvlc.dll - !insertmacro InstallFile activex\axvlc.dll.manifest + !insertmacro InstallFile axvlc.dll + !insertmacro InstallFile axvlc.dll.manifest !insertmacro CloseUninstallLog RegDLL "$INSTDIR\axvlc.dll" SectionEnd -- 2.39.2