~ubuntu-branches/ubuntu/saucy/sflphone/saucy

« back to all changes in this revision

Viewing changes to hudson-sflphone-script.sh

  • Committer: Bazaar Package Importer
  • Author(s): Francois Marier
  • Date: 2010-12-24 16:33:55 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20101224163355-tkvvikqxbrbav6up
Tags: 0.9.11-1
* New upstream release
* Add new build dependencies on libwebkit-dev and libyaml-dev

* Bump Standards-Version up to 3.9.1
* Bump debhelper compatibility to 8
* Patch another typo in the upstream code (lintian notice)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
#
 
3
# Script used by Hudson continious integration server to build SFLphone
 
4
#
 
5
# Author: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com>
 
6
 
 
7
XML_RESULTS="cppunitresults.xml"
 
8
 
 
9
set -x
 
10
 
 
11
# Compile the daemon
 
12
pushd sflphone-common
 
13
./autogen.sh
 
14
 Compile pjproject first
 
15
pushd libs/pjproject
 
16
./autogen.sh
 
17
./configure
 
18
make && make dep
 
19
popd
 
20
./configure --prefix=/usr
 
21
make clean
 
22
make
 
23
make doc
 
24
popd
 
25
 
 
26
# Run the unit tests for the daemon
 
27
pushd sflphone-common/test
 
28
# Remove the previous XML test file
 
29
rm -rf $(XML_RESULTS)
 
30
make check
 
31
# if at least one test failed, exit
 
32
./test --xml || exit 1
 
33
popd
 
34
 
 
35
# Compile the client
 
36
pushd sflphone-client-gnome
 
37
./autogen.sh
 
38
./configure --prefix=/usr
 
39
make clean
 
40
make
 
41
popd
 
42
 
 
43
# SUCCESS
 
44
exit 0