]> code.delx.au - gnu-emacs/blobdiff - Makefile.in
make check unconditional, check-maybe top-level.
[gnu-emacs] / Makefile.in
index 9ab1f768da04bc4fb980d8121189910e8c63fd24..06e5b06570117dcb9a47a8c73c6a03fb51b942e2 100644 (file)
@@ -921,6 +921,15 @@ extraclean: $(extraclean_dirs:=_extraclean)
 TAGS tags: lib lib-src src
        $(MAKE) -C src tags
 
+
+check-maybe: all
+       @if test ! -d test; then \
+         echo "You do not seem to have the test/ directory."; \
+         echo "Maybe you are using a release tarfile, rather than a repository checkout."; \
+       else \
+         $(MAKE) -C test check-maybe; \
+       fi
+
 check: all
        @if test ! -d test; then \
          echo "You do not seem to have the test/ directory."; \
@@ -943,7 +952,7 @@ $(DOCS):
        $(MAKE) -C doc/$(subst -, ,$@)
 
 .PHONY: $(DOCS) docs pdf ps
-.PHONY: info dvi dist check html info-real info-dir check-info
+.PHONY: info dvi dist check check-maybe html info-real info-dir check-info
 
 ## TODO add etc/refcards.
 docs: $(DOCS)