diff packaging/create-dist-package.sh.in @ 1271:46b598e0dfc6

(issue68) Write into the correct filelists
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 29 Sep 2014 10:03:38 +0200
parents 014586ef8a84
children e7a8ec3185f2
line wrap: on
line diff
--- a/packaging/create-dist-package.sh.in	Mon Sep 29 10:03:04 2014 +0200
+++ b/packaging/create-dist-package.sh.in	Mon Sep 29 10:03:38 2014 +0200
@@ -68,12 +68,12 @@
 done
 
 cd $TMPDIR/windows/licenses
-echo SetOutPath \"\$INSTDIR\\licenses\" >> @CMAKE_CURRENT_BINARY_DIR@/filelist_in.nsh
+echo SetOutPath \"\$INSTDIR\\licenses\" >> $TMPDIR/resources/filelist_in.nsh
 for file in `find * -type f`; do
-    echo File \"\${files_dir}\${path_sep}licenses\${path_sep}$file\" >> @CMAKE_CURRENT_BINARY_DIR@/filelist_in.nsh
-    echo Delete \"\$INSTDIR\\licenses\\$file\" >> @CMAKE_CURRENT_BINARY_DIR@/filelist_un.nsh
+    echo File \"\${files_dir}\${path_sep}licenses\${path_sep}$file\" >> $TMPDIR/resources/filelist_in.nsh
+    echo Delete \"\$INSTDIR\\licenses\\$file\" >> $TMPDIR/resources/filelist_un.nsh
 done
-echo RmDir \"\$INSTDIR\\licenses\" >> @CMAKE_CURRENT_BINARY_DIR@/filelist_un.nsh
+echo RmDir \"\$INSTDIR\\licenses\" >> $TMPDIR/resources/filelist_un.nsh
 
 cd $TMPDIR/windows/doc
 

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