Mercurial > trustbridge
comparison packaging/create-dist-package.sh.in @ 978:d92b1594e974
Merged.
author | Emanuel Schuetze <emanuel@intevation.de> |
---|---|
date | Fri, 29 Aug 2014 13:10:11 +0200 |
parents | cbd32175c56c |
children | 1c1964c27b39 |
comparison
equal
deleted
inserted
replaced
977:9ad1f18799fb | 978:d92b1594e974 |
---|---|
25 echo "Updating windows build" | 25 echo "Updating windows build" |
26 make -j`nproc` | 26 make -j`nproc` |
27 cd @CMAKE_SOURCE_DIR@/build-i386 | 27 cd @CMAKE_SOURCE_DIR@/build-i386 |
28 echo "Building x86 package" | 28 echo "Building x86 package" |
29 make -j`nproc` | 29 make -j`nproc` |
30 /bin/bash packaging/linux-createpackage.sh | 30 /bin/bash packaging/linux-createpackage.sh i386 |
31 cd @CMAKE_BINARY_DIR@ | 31 cd @CMAKE_BINARY_DIR@ |
32 echo "Building amd64 package" | 32 echo "Building amd64 package" |
33 /bin/bash packaging/linux-createpackage.sh | 33 /bin/bash packaging/linux-createpackage.sh x86_64 |
34 mkdir -p $TMPDIR/linux | 34 mkdir -p $TMPDIR/linux |
35 mkdir -p $TMPDIR/windows | 35 mkdir -p $TMPDIR/windows |
36 mv @CMAKE_BINARY_DIR@/TrustBridge-@PROJECT_VERSION@.sh \ | 36 mv @CMAKE_BINARY_DIR@/TrustBridge-@PROJECT_VERSION@.sh \ |
37 $TMPDIR/linux/TrustBridge-@PROJECT_VERSION@-amd64.sh | 37 $TMPDIR/linux/TrustBridge-@PROJECT_VERSION@-amd64.sh |
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_BINARY_DIR@/manuals/help-manual/html $TMPDIR/windows/doc | |
44 | |
43 cp @CMAKE_SOURCE_DIR@/packaging/filelist.nsh $TMPDIR | 45 cp @CMAKE_SOURCE_DIR@/packaging/filelist.nsh $TMPDIR |
44 cp @CMAKE_SOURCE_DIR@/packaging/trustbridge.nsi $TMPDIR | 46 cp @CMAKE_SOURCE_DIR@/packaging/trustbridge.nsi $TMPDIR |
45 cp -r @CMAKE_SOURCE_DIR@/packaging/resources $TMPDIR/resources | 47 cp -r @CMAKE_SOURCE_DIR@/packaging/resources $TMPDIR/resources |
46 LC_ALL="de_DE.latin-1" echo "company=Bundesamt für Sicherheit in der Informationstechnik" > $TMPDIR/meta.ini | 48 LC_ALL="de_DE.latin-1" echo "company=Bundesamt für Sicherheit in der Informationstechnik" > $TMPDIR/meta.ini |
47 EST_SIZE=$(du -s $TMPDIR/windows | cut -f 1) | 49 EST_SIZE=$(du -s $TMPDIR/windows | cut -f 1) |