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

« back to all changes in this revision

Viewing changes to autogen.sh

  • Committer: Balint Reczey
  • Date: 2020-06-11 18:46:02 UTC
  • Revision ID: balint.reczey@canonical.com-20200611184602-2rv1zan3xu723x2u
Moved to git at https://git.launchpad.net/update-notifier

Show diffs side-by-side

added added

removed removed

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