Fix bugs in previous commit that caused FTBFS in synfig and ETL FTBFS with older...
[synfig.git] / synfig-core / tags / stable / src / modules / mod_openexr / mod_openexr.nsh
1 ; The stuff to install
2 Section "mod_openexr" Sec_mod_openexr
3
4 ;  SectionIn RO
5   
6   ; Set output path to the installation directory.
7   SetOutPath "$INSTDIR\lib\synfig\modules"
8   
9   ; Put file there
10   File /oname=mod_openexr.dll "src\modules\mod_openexr\.libs\libmod_openexr.dll"
11
12   SetOutPath "$INSTDIR\bin"
13   File "src\modules\mod_openexr\.libs\libHalf*.dll"
14   File "src\modules\mod_openexr\.libs\libIlmImf*.dll"
15   File "src\modules\mod_openexr\.libs\libIlmThread*.dll"
16   File "src\modules\mod_openexr\.libs\libIex*.dll"
17
18   FileOpen $0 $INSTDIR\etc\synfig_modules.cfg a
19   FileSeek $0 0 END
20   FileWrite $0 "mod_openexr"
21   FileWriteByte $0 "13"
22   FileWriteByte $0 "10"
23   FileClose $0
24
25 SectionEnd
26