~ubuntu-branches/ubuntu/saucy/mythtv-themes/saucy

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Mario Limonciello
  • Date: 2009-10-04 20:05:47 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20091004200547-xjs2gpjsf6kqonjm
Tags: 1:0.22.0~trunk22225-0ubuntu1
* New upstream version.
  - Themes have been shuffled.
* debian/rules:
  - Update rule to be functional on hardy too.
* Refresh dejavu fonts patch.
* Refresh control file for removed themes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#
5
5
 
6
6
prefix="/usr/local"
 
7
sysroot=""
7
8
 
8
9
qmake="qmake"
9
10
 
11
12
  case "$opt" in
12
13
  --prefix=*) prefix=`echo $opt | cut -d '=' -f 2`
13
14
  ;;
 
15
  --sysroot=*) sysroot=`echo $opt | cut -d '=' -f 2`
 
16
  ;;
14
17
  --qmake=*) qmake=`echo $opt | cut -d '=' -f 2`
15
18
  ;;
16
19
  esac
22
25
Usage:   configure [options]
23
26
Options: [defaults in brackets after descriptions]
24
27
Generic options:
25
 
  --prefix=PREFIX          MythTV install location PREFIX [$prefix]"
 
28
  --prefix=PREFIX          MythTV install location PREFIX [$prefix]
 
29
  --sysroot=SYSROOT        sysroot location SYSROOT [$sysroot]
26
30
  --qmake=QMAKE            use specified qmake [$qmake]
27
31
  --help                   print this message
28
32
EOF
30
34
fi
31
35
 
32
36
# bring in mythtv config
33
 
if [ -e $prefix/include/mythtv/mythconfig.mak ] ; then
 
37
if [ -e $sysroot$prefix/include/mythtv/mythconfig.mak ] ; then
34
38
  rm mythconfig.mak 2> /dev/null
35
 
  ln -s $prefix/include/mythtv/mythconfig.mak mythconfig.mak
 
39
  ln -s $sysroot$prefix/include/mythtv/mythconfig.mak mythconfig.mak
36
40
else
37
 
  echo "ERROR: mythconfig.mak not found at $prefix/include/mythtv/mythconfig.mak"
 
41
  echo "ERROR: mythconfig.mak not found at $sysroot$prefix/include/mythtv/mythconfig.mak"
38
42
  echo "Did you make AND install MythTV first?"
39
 
  echo "Are you using the correct prefix ($prefix)?"
 
43
  echo "Are you using the correct prefix ($prefix) and sysroot ($sysroot)?"
40
44
  echo "Bailing out!!"
41
45
  exit
42
46
fi