From 3b34c2561e3c7402b23e02779075ab42e6ea9cf3 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Sun, 11 Apr 2010 18:04:06 +0000 Subject: [PATCH] some advances in deployment of llcon software --- mac/deploy_mac.sh | 15 +++++++++++++++ windows/deploy_windows.bat | 20 ++++++++++++++++++++ windows/llcon.vcproj | 4 ++++ 3 files changed, 39 insertions(+) create mode 100755 windows/deploy_windows.bat diff --git a/mac/deploy_mac.sh b/mac/deploy_mac.sh index 6b10464d..6d55664d 100755 --- a/mac/deploy_mac.sh +++ b/mac/deploy_mac.sh @@ -1,9 +1,24 @@ #!/bin/sh cd .. + + +# TODO add tag to CVS with current version number +# cvs -n update 2>null | grep -i "M " # error if any file is locally modified!!! -> TODO + + +# first clean up rm -rf llcon.app make clean + +# make everything make -j2 + +# call qt mac deploy tool macdeployqt llcon.app -dmg + +# create zip file including COPYING file zip llcon-version-mac.zip llcon.dmg COPYING + +# cleanup and go back to original directory rm llcon.dmg cd mac diff --git a/windows/deploy_windows.bat b/windows/deploy_windows.bat new file mode 100755 index 00000000..67d81044 --- /dev/null +++ b/windows/deploy_windows.bat @@ -0,0 +1,20 @@ +@echo off + +rem settings and check --------------------------------------------------------- +set NSIS_PATH=%PROGRAMFILES%\NSIS + +if "%VSINSTALLDIR%" == "" goto vsenvproblem + +rem clean and compile solution ------------------------------------------------- +devenv llcon.sln /clean "Release|Win32" +devenv llcon.sln /build "Release|Win32" + +rem create installer ----------------------------------------------------------- +%NSIS_PATH%\makensis.exe installer.nsi + +goto endofskript + +:vsenvproblem +echo Use the Visual Studio Command Prompt to call this skript + +:endofskript diff --git a/windows/llcon.vcproj b/windows/llcon.vcproj index a3600f19..5c1c7ef6 100755 --- a/windows/llcon.vcproj +++ b/windows/llcon.vcproj @@ -1642,6 +1642,10 @@ RelativePath="..\COPYING" > + +