* Makefile.in (check): Just give a message if no test/ directory.
authorGlenn Morris <rgm@gnu.org>
Tue, 24 May 2011 20:09:08 +0000 (16:09 -0400)
committerGlenn Morris <rgm@gnu.org>
Tue, 24 May 2011 20:09:08 +0000 (16:09 -0400)
ChangeLog
Makefile.in

index 86a685d..9486bbd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2011-05-24  Glenn Morris  <rgm@gnu.org>
 
+       * Makefile.in (check): Just give a message if no test/ directory.
+
        * configure.in: Avoid using variables inside AC_CONFIG_FILES.
 
        * configure.in (OPT_MAKEFILES_IN): Remove.
index 0c3eabc..529a3b2 100644 (file)
@@ -859,9 +859,11 @@ TAGS tags: lib lib-src src
 
 check:
        @if test ! -d test/automated; then \
-         echo "You do not seem to have the test/ directory."; exit 1; \
-       else true; fi
-       cd test/automated && $(MAKE) $(MFLAGS) check
+         echo "You do not seem to have the test/ directory."; \
+         echo "Maybe you are using a release tarfile, rather than a repository checkout."; \
+       else \
+         cd test/automated && $(MAKE) $(MFLAGS) check; \
+       fi
 
 dist:
        cd ${srcdir}; ./make-dist