File: autogen.sh

package info (click to toggle)
update-notifier 0.99.3debian8
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,124 kB
  • ctags: 262
  • sloc: ansic: 2,489; sh: 1,212; python: 206; makefile: 66
file content (30 lines) | stat: -rwxr-xr-x 645 bytes parent folder | download | duplicates (2)
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
30
#!/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
cd po; intltool-update -p --verbose
exit 0

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

USE_GNOME2_MACROS=1 . gnome-autogen.sh