- check for existing usage binary, so it get's more obvious that the toplevel
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sun, 21 May 2006 10:45:01 +0000 (10:45 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sun, 21 May 2006 10:45:01 +0000 (10:45 -0000)
  Makefile uses the wrong path to the binary (it's in top_builddir and not in top_srcdir)

scripts/usage_compressed

index fa12e4063b96661cb750866b9fd7f6c555e8cff2..ce672db3bbc34a9da60baf7ed2bd9746e16c442c 100644 (file)
@@ -3,6 +3,7 @@
 loc="$1"
 
 test "$loc" || loc=.
+test -x "$loc/usage" || exit 1
 
 echo 'static const char packed_usage[] = '
 "$loc"/usage | bzip2 -9 | od -v -t x1 \