mirror of
https://github.com/NaN-tic/tryton-gtk2.git
synced 2023-12-14 03:12:58 +01:00
80a25809c5
package_data must be used for data that are closely related to the package's implemenation. This is the case of the pixmaps and the locale. issue4983 review24421002
37 lines
809 B
Text
37 lines
809 B
Text
;This file is part of Tryton. The COPYRIGHT file at the top level of
|
|
;this repository contains the full copyright notices and license terms.
|
|
|
|
;Check version
|
|
!ifndef VERSION
|
|
!error "Missing VERSION! Specify it with '/DVERSION=<VERSION>'"
|
|
!endif
|
|
|
|
;General
|
|
Name "Tryton ${VERSION}"
|
|
OutFile "tryton-${VERSION}.exe"
|
|
SetCompressor lzma
|
|
SetCompress auto
|
|
SilentInstall silent
|
|
Icon "tryton\data\pixmaps\tryton\tryton.ico"
|
|
|
|
Section
|
|
InitPluginsDir
|
|
|
|
;Set output path to the installation directory
|
|
SetOutPath '$PLUGINSDIR'
|
|
|
|
;Put file
|
|
File /r "dist\*"
|
|
File "COPYRIGHT"
|
|
File "INSTALL"
|
|
File "LICENSE"
|
|
File "README"
|
|
File "CHANGELOG"
|
|
|
|
SetOutPath "$PLUGINSDIR\doc"
|
|
File /r "doc\*"
|
|
|
|
;Run the exe
|
|
SetOutPath '$EXEDIR'
|
|
nsExec::Exec $PLUGINSDIR\tryton.exe
|
|
SectionEnd
|