Updating branch refs/heads/master
         to e329ca3cb96665925412a56a9a119b7199f0171d (commit)
       from cb3fd5be2e1cca69b598a0c21386a3e3ead8df89 (commit)

commit e329ca3cb96665925412a56a9a119b7199f0171d
Author: Paweł Forysiuk <tuxa...@o2.pl>
Date:   Thu Apr 4 14:39:08 2013 +0200

    makedist: Support building nsis installer

 win32/makedist/makedist.midori |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/win32/makedist/makedist.midori b/win32/makedist/makedist.midori
index c0e2b43..1022db0 100755
--- a/win32/makedist/makedist.midori
+++ b/win32/makedist/makedist.midori
@@ -65,6 +65,12 @@ else
     ARCHIVE=$ARCHIVE_FILENAME.zip
 fi
 
+if [ "NSIS" != "" ];then
+    where_am_i=$PWD
+    cp -a $where_am_i/win32/makedist/midori.nsi $temp_dir
+    cp -a $where_am_i/win32/makedist/midori.ico $temp_dir
+fi
+
 # function: dll-recursive <list of exe and dll files ...>
 #
 # recursively search all dll dependencies of the input files.
@@ -275,6 +281,13 @@ if [ "$have_7zip" != "" ]; then
 else
     zip -rq $ARCHIVE midori-$version_tag
 fi
+
+if [ "$NSIS" != "" ];then
+    nsis_file=Midori-${version}_setup.exe
+    echo "Creating $nsis_file"
+    makensis -NOCD -V2 ./midori.nsi
+    mv $nsis_file $where_am_i
+fi
 popd > /dev/null
 
 echo "<*> Cleaning up..."
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to