~ubuntu-branches/debian/wheezy/idjc/wheezy

« back to all changes in this revision

Viewing changes to env-up

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2011-12-03 16:33:59 UTC
  • mfrom: (0.2.6)
  • Revision ID: package-import@ubuntu.com-20111203163359-dq5fy9i756jpoy29
Tags: 0.8.6-1
* New upstream release.
* debian/control:
  - Wrap and sort.
  - Build-depend on autopoint.
  - Drop autotools-dev, unnecessary.
* Drop the whole patch set, none of them is still needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/bash
2
2
 
 
3
function missing {
 
4
        echo "$1, is missing - please install it and try again"
 
5
        exit 1
 
6
}
 
7
 
 
8
function check {
 
9
        for i in $* ; do
 
10
                which $i > /dev/null || missing $i
 
11
        done
 
12
}
 
13
 
 
14
check autoreconf libtool autopoint convert
 
15
 
 
16
 
3
17
echo "remaking missing files in build environment"
4
18
 
5
19
# Directory exists in git source only.
9
23
  cd ..
10
24
fi
11
25
 
12
 
cd libshout
13
 
autoreconf -ifs
14
 
# Recreates shout-config.in. Returns an error code.
15
 
./configure >/dev/null 2>&1 || /bin/true
16
 
cd ..
17
 
autoreconf -ifs
 
26
autoreconf -ifs
 
27