changeset 963:62b832d0b839

(issue89) Package help for windows
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 28 Aug 2014 12:54:28 +0200
parents 0a4f7235e759
children 706405a2f3e8
files packaging/create-dist-package.sh.in packaging/filelist.nsh packaging/win-createpackage.sh.in
diffstat 3 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/packaging/create-dist-package.sh.in	Thu Aug 28 11:26:09 2014 +0200
+++ b/packaging/create-dist-package.sh.in	Thu Aug 28 12:54:28 2014 +0200
@@ -40,6 +40,8 @@
 cp @CMAKE_SOURCE_DIR@/build-windows/ui/trustbridge.exe $TMPDIR/windows
 cp @CMAKE_SOURCE_DIR@/build-windows/cinst/cinst.exe $TMPDIR/windows
 cp @CMAKE_SOURCE_DIR@/build-windows/cinst/mozilla.exe $TMPDIR/windows
+cp @CMAKE_BINARY_DIR@/manuals/help-manual/html $TMPDIR/windows/doc
+
 cp @CMAKE_SOURCE_DIR@/packaging/filelist.nsh $TMPDIR
 cp @CMAKE_SOURCE_DIR@/packaging/trustbridge.nsi $TMPDIR
 cp -r @CMAKE_SOURCE_DIR@/packaging/resources $TMPDIR/resources
--- a/packaging/filelist.nsh	Thu Aug 28 11:26:09 2014 +0200
+++ b/packaging/filelist.nsh	Thu Aug 28 12:54:28 2014 +0200
@@ -11,3 +11,4 @@
 File "${files_dir}${path_sep}cinst.exe"
 File "${files_dir}${path_sep}trustbridge.exe"
 File "${files_dir}${path_sep}mozilla.exe"
+File /r /x .buildinfo "${files_dir}${path_sep}doc"
--- a/packaging/win-createpackage.sh.in	Thu Aug 28 11:26:09 2014 +0200
+++ b/packaging/win-createpackage.sh.in	Thu Aug 28 12:54:28 2014 +0200
@@ -14,8 +14,10 @@
 TMPINST=$(mktemp)
 
 EXEFILES=$(find . -name cinst.exe -o -name trustbridge.exe -o -name mozilla.exe)
+HELPDIR=@CMAKE_BINARY_DIR@/manuals/help-manual/html
 
 cp $EXEFILES $TMPDIR
+cp -r $HELPDIR $TMPDIR/doc
 
 EST_SIZE=$(du -s $TMPDIR | cut -f 1)
 

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