|  | @@ -274,3 +274,11 @@ if USE_RUST
 | 
	
		
			
				|  |  |  distclean-local: distclean-rust
 | 
	
		
			
				|  |  |  endif
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +# This relies on some internal details of how automake implements
 | 
	
		
			
				|  |  | +# distcheck.  We check two directories because automake-1.15 changed
 | 
	
		
			
				|  |  | +# from $(distdir)/_build to $(distdir)/_build/sub.
 | 
	
		
			
				|  |  | +show-distdir-testlog:
 | 
	
		
			
				|  |  | +	@if test -d "$(distdir)/_build/sub"; then \
 | 
	
		
			
				|  |  | +	  cat $(distdir)/_build/sub/$(TEST_SUITE_LOG); \
 | 
	
		
			
				|  |  | +	else \
 | 
	
		
			
				|  |  | +	  cat $(distdir)/_build/$(TEST_SUITE_LOG); fi
 |