aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.in16
1 files changed, 5 insertions, 11 deletions
diff --git a/Makefile.in b/Makefile.in
index 06e5b065701..57e29d7f983 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -921,22 +921,16 @@ extraclean: $(extraclean_dirs:=_extraclean)
921TAGS tags: lib lib-src src 921TAGS tags: lib lib-src src
922 $(MAKE) -C src tags 922 $(MAKE) -C src tags
923 923
924 924.PHONY: have-tests
925check-maybe: all 925have-tests:
926 @if test ! -d test; then \ 926 @if test ! -d test; then \
927 echo "You do not seem to have the test/ directory."; \ 927 echo "You do not seem to have the test/ directory."; \
928 echo "Maybe you are using a release tarfile, rather than a repository checkout."; \ 928 echo "Maybe you are using a release tarfile, rather than a repository checkout."; \
929 else \ 929 exit 1; \
930 $(MAKE) -C test check-maybe; \
931 fi 930 fi
932 931
933check: all 932check check-maybe: have-tests all
934 @if test ! -d test; then \ 933 $(MAKE) -C test $@
935 echo "You do not seem to have the test/ directory."; \
936 echo "Maybe you are using a release tarfile, rather than a repository checkout."; \
937 else \
938 $(MAKE) -C test check; \
939 fi
940 934
941dist: 935dist:
942 cd ${srcdir}; ./make-dist 936 cd ${srcdir}; ./make-dist