File: autogen.sh

package info (click to toggle)
update-notifier 0.70.7.debian-5
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 1,592 kB
  • ctags: 290
  • sloc: sh: 3,776; ansic: 2,628; makefile: 155; python: 141
file content (29 lines) | stat: -rwxr-xr-x 609 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh
# Run this to generate all the initial makefiles, etc.

srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

PKG_NAME="Upgrade Notifier"

(test -f $srcdir/configure.in \
  && test -f $srcdir/README) || {
    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
    echo " top-level gnome directory"
    exit 1
}

# do not use gnome-autogen.sh as long as it's broken
cd "$srcdir"
autoreconf --force -i -v    
intltoolize -c
aclocal
rm -rf autom4te.cache
exit 0

which gnome-autogen.sh || {
    echo "You need to install gnome-common"
    exit 1
}

USE_GNOME2_MACROS=1 . gnome-autogen.sh