]> granicus.if.org Git - libjpeg-turbo/commitdiff
Oops. We need to delete the new copy of turbojpeg.dll in the binary directory. ...
authorDRC <dcommander@users.sourceforge.net>
Fri, 20 Sep 2013 01:11:40 +0000 (01:11 +0000)
committerDRC <dcommander@users.sourceforge.net>
Fri, 20 Sep 2013 01:11:40 +0000 (01:11 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1028 632fc199-4ca6-4c93-a231-07263d6284db

release/libjpeg-turbo.nsi.in

index 0514565c6a12190734591a6930a642ba37e22f1f..4f65303790a7f97b33595802aebb5567311be1ec 100755 (executable)
@@ -1,7 +1,7 @@
 !include x64.nsh
 Name "@CMAKE_PROJECT_NAME@ SDK for @INST_PLATFORM@"
 OutFile "@CMAKE_BINARY_DIR@\${BUILDDIR}@INST_NAME@.exe"
-InstallDir @INST_DIR@
+InstallDir "@INST_DIR@"
 
 SetCompressor bzip2
 
@@ -111,13 +111,15 @@ Section "Uninstall"
 !ifdef GCC
        Delete $INSTDIR\bin\libjpeg-@DLL_VERSION@.dll
        Delete $SYSDIR\libturbojpeg.dll
-       Delete $INSTDIR\lib\libturbojpeg.dll.a"
-       Delete $INSTDIR\lib\libturbojpeg.a"
-       Delete $INSTDIR\lib\libjpeg.dll.a"
-       Delete $INSTDIR\lib\libjpeg.a"
+       Delete $INSTDIR\bin\libturbojpeg.dll
+       Delete $INSTDIR\lib\libturbojpeg.dll.a
+       Delete $INSTDIR\lib\libturbojpeg.a
+       Delete $INSTDIR\lib\libjpeg.dll.a
+       Delete $INSTDIR\lib\libjpeg.a
 !else
        Delete $INSTDIR\bin\jpeg@DLL_VERSION@.dll
        Delete $SYSDIR\turbojpeg.dll
+       Delete $INSTDIR\bin\turbojpeg.dll
        Delete $INSTDIR\lib\jpeg.lib
        Delete $INSTDIR\lib\jpeg-static.lib
        Delete $INSTDIR\lib\turbojpeg.lib
@@ -132,11 +134,11 @@ Section "Uninstall"
        Delete $INSTDIR\bin\tjbench.exe
        Delete $INSTDIR\bin\rdjpgcom.exe
        Delete $INSTDIR\bin\wrjpgcom.exe
-       Delete $INSTDIR\include\jconfig.h"
-       Delete $INSTDIR\include\jerror.h"
-       Delete $INSTDIR\include\jmorecfg.h"
-       Delete $INSTDIR\include\jpeglib.h"
-       Delete $INSTDIR\include\turbojpeg.h"
+       Delete $INSTDIR\include\jconfig.h
+       Delete $INSTDIR\include\jerror.h
+       Delete $INSTDIR\include\jmorecfg.h
+       Delete $INSTDIR\include\jpeglib.h
+       Delete $INSTDIR\include\turbojpeg.h
        Delete $INSTDIR\uninstall_@VERSION@.exe
        Delete $INSTDIR\doc\README
        Delete $INSTDIR\doc\README-turbo.txt