[Xfce4-commits] <midori:master> makedist: Support building nsis installer
Christian Dywan
noreply at xfce.org
Thu Apr 4 19:04:03 CEST 2013
Updating branch refs/heads/master
to e329ca3cb96665925412a56a9a119b7199f0171d (commit)
from cb3fd5be2e1cca69b598a0c21386a3e3ead8df89 (commit)
commit e329ca3cb96665925412a56a9a119b7199f0171d
Author: Paweł Forysiuk <tuxator at 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..."
More information about the Xfce4-commits
mailing list