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

1 by mvo
* inital checkin
1
#!/bin/sh
2
# Run this to generate all the initial makefiles, etc.
3
4
srcdir=`dirname $0`
5
test -z "$srcdir" && srcdir=.
6
3 by michiels
2004-10-22 Michiel Sikkes <michiel@eyesopened.nl>
7
PKG_NAME="Upgrade Notifier"
8
9
(test -f $srcdir/configure.in \
10
  && test -f $srcdir/README) || {
1 by mvo
* inital checkin
11
    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
3 by michiels
2004-10-22 Michiel Sikkes <michiel@eyesopened.nl>
12
    echo " top-level gnome directory"
13
    exit 1
14
}
15
285 by Martin Pitt
* autogen.sh: Call autoreconf/intltoolize/aclocal instead of
16
# do not use gnome-autogen.sh as long as it's broken
17
cd "$srcdir"
18
autoreconf --force -i -v    
19
intltoolize -c
20
aclocal
21
rm -rf autom4te.cache
573 by Michael Vogt
merged from debian
22
cd po; intltool-update -p --verbose
285 by Martin Pitt
* autogen.sh: Call autoreconf/intltoolize/aclocal instead of
23
exit 0
24
3 by michiels
2004-10-22 Michiel Sikkes <michiel@eyesopened.nl>
25
which gnome-autogen.sh || {
26
    echo "You need to install gnome-common"
27
    exit 1
28
}
29
30
USE_GNOME2_MACROS=1 . gnome-autogen.sh