]> git.street.me.uk Git - andy/viking.git/blame - autogen.sh
Add beginnings of Slovak translation.
[andy/viking.git] / autogen.sh
CommitLineData
1f8b0db7 1#!/bin/sh
2c8af686 2# Run this to generate all the initial makefiles, etc.
1f8b0db7 3
2c8af686
GB
4srcdir=`dirname $0`
5test -z "$srcdir" && srcdir=.
6
df2fc7c1 7PKG_NAME="viking"
2c8af686 8
df2fc7c1
GB
9(test -f $srcdir/configure.ac \
10 && test -f $srcdir/README \
11 && test -d $srcdir/src) || {
12 echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
13 echo " top-level $PKG_NAME directory"
14 exit 1
2c8af686
GB
15}
16
df2fc7c1 17which gnome-autogen.sh || {
17d0e362
GB
18 echo "You need to install gnome-common module and make"
19 echo "sure the gnome-autogen.sh script is in your \$PATH."
df2fc7c1 20 exit 1
2c8af686
GB
21}
22
df2fc7c1 23ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I m4" REQUIRED_AUTOMAKE_VERSION=1.8 USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh
2c8af686 24