~ubuntu-core-dev/update-notifier/ubuntu

« back to all changes in this revision

Viewing changes to autogen.sh

  • Committer: Andrea Azzarone
  • Date: 2019-03-13 10:05:20 UTC
  • mto: This revision was merged to the branch mainline in revision 956.
  • Revision ID: azzaronea@gmail.com-20190313100520-024zyxvlpm81vgrq
Add livepatch status icons.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
# Run this to generate all the initial makefiles, etc.
3
3
 
 
4
set -e
 
5
 
4
6
srcdir=`dirname $0`
5
7
test -z "$srcdir" && srcdir=.
6
8
 
7
 
PKG_NAME="Upgrade Notifier"
 
9
PKG_NAME="Update Notifier"
8
10
 
9
 
(test -f $srcdir/configure.in \
 
11
(test -f $srcdir/configure.ac \
10
12
  && test -f $srcdir/README) || {
11
13
    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
12
14
    echo " top-level gnome directory"
13
15
    exit 1
14
16
}
15
17
 
 
18
dpkg-checkbuilddeps -d 'libtool, automake, intltool, libglib2.0-dev, gnome-common'
 
19
 
 
20
# do not use gnome-autogen.sh as long as it's broken
 
21
cd "$srcdir"
 
22
autoreconf --force -i -v    
 
23
intltoolize -c
 
24
aclocal
 
25
rm -rf autom4te.cache
 
26
cd po; intltool-update -p --verbose
 
27
exit 0
 
28
 
16
29
which gnome-autogen.sh || {
17
30
    echo "You need to install gnome-common"
18
31
    exit 1