From: Jim Meyering Date: Tue, 27 May 2008 10:29:57 +0000 (+0200) Subject: tests: generalize my-distcheck X-Git-Tag: v6.12~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8976a2b27e9f1755a6d9ee3bc85602aea007ec5d;p=thirdparty%2Fcoreutils.git tests: generalize my-distcheck * maint.mk (my-distcheck): Accommodate missing gnulib-tests. --- diff --git a/maint.mk b/maint.mk index ebcb1b7dc3..65b61cfe2d 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 \