Mercurial > octave-nkf
changeset 14262:605675153f1d gui
Added similar script to retrieve libqirc.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Tue, 24 Jan 2012 20:02:09 +0100 |
parents | d19e3954c315 |
children | 6e6194a7b102 |
files | gui/get-qirc.sh gui/get-qterminal.sh |
diffstat | 2 files changed, 23 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gui/get-qirc.sh Tue Jan 24 20:02:09 2012 +0100 @@ -0,0 +1,22 @@ +#!/bin/bash + +qirc_dir="qirc"; +echo "Updating qirc.."; + +# Check whether we have already cloned the repository: +if [ -d $qirc_dir ]; then + # Yes, so just pull any changes and rebuild. + cd qirc + git pull + qmake-qt4 qirc.pro + cd .. +else + # No, clone the repository, checkout the stable branch + # and build it. + git clone https://code.google.com/p/qirc/ + git checkout master + cd qirc + qmake-qt4 qirc.pro + make + cd .. +fi
--- a/gui/get-qterminal.sh Tue Jan 24 19:57:32 2012 +0100 +++ b/gui/get-qterminal.sh Tue Jan 24 20:02:09 2012 +0100 @@ -8,7 +8,7 @@ # Yes, so just pull any changes and rebuild. cd qterminal git pull - qmake-qt4 + qmake-qt4 qterminal.pro cd .. else # No, clone the repository, checkout the stable branch