Mercurial > trustbridge
comparison packaging/tmp-createpackage.sh.in @ 524:a097dd86cb4d
merged.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Tue, 29 Apr 2014 15:26:43 +0200 |
parents | 4f972b1f4996 |
children | 70138fbced95 |
comparison
equal
deleted
inserted
replaced
523:ca583ffe728a | 524:a097dd86cb4d |
---|---|
1 # Copyright (C) 2014 by Bundesamt für Sicherheit in der Informationstechnik | |
2 # Software engineering by Intevation GmbH | |
3 # | |
4 # This file is Free Software under the GNU GPL (v>=2) | |
5 # and comes with ABSOLUTELY NO WARRANTY! | |
6 # See LICENSE.txt for details. | |
7 | |
8 #!/bin/bash | |
9 | |
10 #NSSDIR is hackish as this will be replaced by static compiling | |
11 # anyway | |
12 | |
13 NSSDIR="@NSS_BASE_DIR@/bin/" | |
14 | |
15 TMPDIR=$(mktemp -d) | |
16 | |
17 EXEFILES=$(find . -name cinst.exe -o -name trustbridge.exe -o -name mozilla.exe) | |
18 | |
19 cp $NSSDIR/*.dll $TMPDIR | |
20 cp $EXEFILES $TMPDIR | |
21 | |
22 echo $TMPDIR | |
23 makensis -Dfiles_dir=$TMPDIR \ | |
24 -Dcompany="Bundesamt für Sicherheit in der Informationstechnik" \ | |
25 -Dversion_number=@PROJECT_VERSION@ \ | |
26 -Dsetupname="@CMAKE_BINARY_DIR@/TrustBridge-@PROJECT_VERSION@.exe" \ | |
27 -Dproductname="TrustBridge" \ | |
28 -Dproductname_short="TrustBridge" @CMAKE_SOURCE_DIR@/packaging/trustbridge.nsi | |
29 rm -r $TMPDIR |