diff options
author | Timo Sirainen <cras@irssi.org> | 2002-03-11 04:54:57 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-03-11 04:54:57 +0000 |
commit | 8c67a92efb111d47099e4939558c39e3d6d4910c (patch) | |
tree | 8dcf0e38672df95c9f7888f70d3f87378c1d2e9c | |
parent | f3e124aebae41b955866d65205405ee075ac82f2 (diff) | |
download | irssi-8c67a92efb111d47099e4939558c39e3d6d4910c.zip |
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
-rwxr-xr-x | autogen.sh | 12 | ||||
-rw-r--r-- | irssi.cvs | 0 |
2 files changed, 11 insertions, 1 deletions
@@ -1,10 +1,20 @@ #!/bin/sh # Run this to generate all the initial makefiles, etc. +PKG_NAME="Irssi" + srcdir=`dirname $0` 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 echo -n "**Error**: Directory \`$srcdir\' does not look like the" diff --git a/irssi.cvs b/irssi.cvs new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/irssi.cvs |