mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
autogen.sh complains now if it's run outside cvs.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2580 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
f3e124aeba
commit
8c67a92efb
12
autogen.sh
12
autogen.sh
@ -1,10 +1,20 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Run this to generate all the initial makefiles, etc.
|
# Run this to generate all the initial makefiles, etc.
|
||||||
|
|
||||||
|
PKG_NAME="Irssi"
|
||||||
|
|
||||||
srcdir=`dirname $0`
|
srcdir=`dirname $0`
|
||||||
test -z "$srcdir" && srcdir=.
|
test -z "$srcdir" && srcdir=.
|
||||||
|
|
||||||
PKG_NAME="Irssi"
|
if test ! -f $srcdir/irssi.cvs -a -f $srcdir/configure; then
|
||||||
|
echo
|
||||||
|
echo "Use ./configure instead"
|
||||||
|
echo
|
||||||
|
echo "This script should only be run if you got sources from CVS."
|
||||||
|
echo "If you really want to do this, say:"
|
||||||
|
echo " touch irssi.cvs"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
if test ! -f $srcdir/configure.in; then
|
if test ! -f $srcdir/configure.in; then
|
||||||
echo -n "**Error**: Directory \`$srcdir\' does not look like the"
|
echo -n "**Error**: Directory \`$srcdir\' does not look like the"
|
||||||
|
Loading…
Reference in New Issue
Block a user