summaryrefslogtreecommitdiff
path: root/maint.mk
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-05-27 12:29:57 +0200
committerJim Meyering <meyering@redhat.com>2008-05-27 12:29:57 +0200
commit8976a2b27e9f1755a6d9ee3bc85602aea007ec5d (patch)
treeec2aa6bab07eb6e1b59588d22dbd41c888e4fff6 /maint.mk
parent87386cc8a99a640c9375e16b6d905848dc40f3bf (diff)
downloadcoreutils-8976a2b27e9f1755a6d9ee3bc85602aea007ec5d.tar.xz
tests: generalize my-distcheck
* maint.mk (my-distcheck): Accommodate missing gnulib-tests.
Diffstat (limited to 'maint.mk')
-rw-r--r--maint.mk4
1 files changed, 3 insertions, 1 deletions
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 \