mirror of
https://github.com/alexkay/spek.git
synced 2025-06-18 16:03:20 +03:00
Update autogen.sh from Sampala
This commit is contained in:
parent
fe590c87e8
commit
cae3767e43
25
autogen.sh
25
autogen.sh
@ -1,21 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Run this to generate all the initial makefiles, etc.
|
# Run this to generate all the initial makefiles, etc.
|
||||||
|
|
||||||
srcdir=`dirname $0`
|
test -n "$srcdir" || srcdir=$(dirname "$0")
|
||||||
test -z "$srcdir" && srcdir=.
|
test -n "$srcdir" || srcdit=.
|
||||||
|
(
|
||||||
PKG_NAME="spek"
|
cd "$srcdir" &&
|
||||||
REQUIRED_AUTOMAKE_VERSION=1.7
|
AUTOPOINT='intltoolize --automake --copy' autoreconf -fiv
|
||||||
|
) || exit
|
||||||
(test -f $srcdir/src/spek.vala \
|
test -n "$NOCONFIGURE" || "$srcdir/configure" --enable-maintainer-mode "$@"
|
||||||
&& test -d $srcdir/src) || {
|
|
||||||
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
|
|
||||||
echo " top-level spek directory"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
which gnome-autogen.sh || {
|
|
||||||
echo "You need to install gnome-common from the GNOME Git"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
. gnome-autogen.sh
|
|
Loading…
x
Reference in New Issue
Block a user