comparison packaging/create-dist-package.sh.in @ 1134:f1384bf9d4a4

Mergerd
author Sascha Wilde <wilde@intevation.de>
date Wed, 17 Sep 2014 15:01:19 +0200
parents a162f4cbba75
children a974b61a5cce
comparison
equal deleted inserted replaced
1133:54a6fa9e44cf 1134:f1384bf9d4a4
38 mv @CMAKE_SOURCE_DIR@/build-i386/TrustBridge-@PROJECT_VERSION@.sh \ 38 mv @CMAKE_SOURCE_DIR@/build-i386/TrustBridge-@PROJECT_VERSION@.sh \
39 $TMPDIR/linux/TrustBridge-@PROJECT_VERSION@-i386.sh 39 $TMPDIR/linux/TrustBridge-@PROJECT_VERSION@-i386.sh
40 cp @CMAKE_SOURCE_DIR@/build-windows/ui/trustbridge.exe $TMPDIR/windows 40 cp @CMAKE_SOURCE_DIR@/build-windows/ui/trustbridge.exe $TMPDIR/windows
41 cp @CMAKE_SOURCE_DIR@/build-windows/cinst/cinst.exe $TMPDIR/windows 41 cp @CMAKE_SOURCE_DIR@/build-windows/cinst/cinst.exe $TMPDIR/windows
42 cp @CMAKE_SOURCE_DIR@/build-windows/cinst/mozilla.exe $TMPDIR/windows 42 cp @CMAKE_SOURCE_DIR@/build-windows/cinst/mozilla.exe $TMPDIR/windows
43 cp -r @CMAKE_SOURCE_DIR@/packaging/resources $TMPDIR/resources
44 cp @CMAKE_SOURCE_DIR@/build-windows/packaging/DesktopShellRun.dll $TMPDIR/resources
43 cp -r @CMAKE_BINARY_DIR@/manuals/help-manual/html $TMPDIR/windows/doc 45 cp -r @CMAKE_BINARY_DIR@/manuals/help-manual/html $TMPDIR/windows/doc
44 46
45 cp @CMAKE_SOURCE_DIR@/packaging/filelist.nsh $TMPDIR 47 cp @CMAKE_SOURCE_DIR@/packaging/filelist.nsh $TMPDIR
46 cp @CMAKE_SOURCE_DIR@/packaging/trustbridge.nsi $TMPDIR 48 cp @CMAKE_SOURCE_DIR@/packaging/trustbridge.nsi $TMPDIR
47 cp -r @CMAKE_SOURCE_DIR@/packaging/resources $TMPDIR/resources
48 LC_ALL="de_DE.latin-1" echo "company=Bundesamt für Sicherheit in der Informationstechnik" > $TMPDIR/meta.ini 49 LC_ALL="de_DE.latin-1" echo "company=Bundesamt für Sicherheit in der Informationstechnik" > $TMPDIR/meta.ini
49 EST_SIZE=$(du -s $TMPDIR/windows | cut -f 1) 50 EST_SIZE=$(du -s $TMPDIR/windows | cut -f 1)
50 echo "version_number=@PROJECT_VERSION@" >> $TMPDIR/meta.ini 51 echo "version_number=@PROJECT_VERSION@" >> $TMPDIR/meta.ini
51 echo "setupname=%1TrustBridge-@PROJECT_VERSION@.exe" >> $TMPDIR/meta.ini 52 echo "setupname=%1TrustBridge-@PROJECT_VERSION@.exe" >> $TMPDIR/meta.ini
52 echo "productname=TrustBridge" >> $TMPDIR/meta.ini 53 echo "productname=TrustBridge" >> $TMPDIR/meta.ini
56 echo "size=$EST_SIZE" >> $TMPDIR/meta.ini 57 echo "size=$EST_SIZE" >> $TMPDIR/meta.ini
57 58
58 # Create a temporary NSIS file for the uninstaller cration 59 # Create a temporary NSIS file for the uninstaller cration
59 LC_ALL="de_DE.latin-1" makensis -Dfiles_dir=$TMPDIR/windows \ 60 LC_ALL="de_DE.latin-1" makensis -Dfiles_dir=$TMPDIR/windows \
60 -Dcompany="Bundesamt für Sicherheit in der Informationstechnik" \ 61 -Dcompany="Bundesamt für Sicherheit in der Informationstechnik" \
61 -Dplugin_dir="@CMAKE_CURRENT_BINARY_DIR@" \ 62 -Dplugin_dir="$TMPDIR/resources" \
62 -Dversion_number=@PROJECT_VERSION@ \ 63 -Dversion_number=@PROJECT_VERSION@ \
63 -Dsetupname="$TMPDIR/TrustBridge-@PROJECT_VERSION@-uni.exe" \ 64 -Dsetupname="$TMPDIR/TrustBridge-@PROJECT_VERSION@-uni.exe" \
64 -Dproductname="TrustBridge" \ 65 -Dproductname="TrustBridge" \
65 -Dpath_sep="/" \ 66 -Dpath_sep="/" \
66 -Dinfo_url="http://wald.intevation.org/projects/trustbridge/" \ 67 -Dinfo_url="http://wald.intevation.org/projects/trustbridge/" \

http://wald.intevation.org/projects/trustbridge/