[PATCH 1 of 6] (issue89) Package help for windows

Wald Commits scm-commit at wald.intevation.org
Thu Aug 28 12:57:39 CEST 2014


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1409223268 -7200
# Node ID 62b832d0b83992c8518240408db36fd2bf26de8e
# Parent  0a4f7235e7590bd6e26010aa5adbb6a61ff640af
(issue89) Package help for windows

diff -r 0a4f7235e759 -r 62b832d0b839 packaging/create-dist-package.sh.in
--- 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
diff -r 0a4f7235e759 -r 62b832d0b839 packaging/filelist.nsh
--- 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"
diff -r 0a4f7235e759 -r 62b832d0b839 packaging/win-createpackage.sh.in
--- 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)
 


More information about the Trustbridge-commits mailing list