From 8976a2b27e9f1755a6d9ee3bc85602aea007ec5d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 27 May 2008 12:29:57 +0200 Subject: tests: generalize my-distcheck * maint.mk (my-distcheck): Accommodate missing gnulib-tests. --- maint.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/maint.mk b/maint.mk index ebcb1b7dc..65b61cfe2 100644 --- a/maint.mk +++ b/maint.mk @@ -697,7 +697,9 @@ my-distcheck: $(DIST_ARCHIVES) $(local-check) check done \ && ln -sf ../src/true $(bin)/false \ && PATH=`pwd`/$(bin):$$PATH $(MAKE) -C tests check \ - && $(MAKE) -C gnulib-tests check \ + && { test -d gnulib-tests \ + && $(MAKE) -C gnulib-tests check \ + || :; } \ && rm -rf $(bin) \ && $(MAKE) distclean (cd $(t) && mv $(distdir) $(distdir).old \ -- cgit v1.2.3-70-g09d2