From 4242d4f5c4f32374b684882a74e1b773ad01b1d6 Mon Sep 17 00:00:00 2001 From: James Youngman Date: Tue, 19 Feb 2008 13:27:39 +0100 Subject: Fix non-srcdir "make distcheck" failure. * Makefile.am (check-ls-dircolors): Look for sources under $(srcdir), not under ".". --- Makefile.am | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index fcf5cfaf7..67f493484 100644 --- a/Makefile.am +++ b/Makefile.am @@ -108,10 +108,12 @@ THANKS-to-translators: po/LINGUAS THANKStt.in # remain in sync. .PHONY: check-ls-dircolors check-ls-dircolors: - dc=$$(sed -n '/static.*ls_codes\[/,/};'/p src/dircolors.c \ - |sed -n '/^ *"/p'|tr , '\n'|sed 's/^ *//' \ - |sed -n 's/^"\(..\)"/\1/p'|sort -u); \ - ls=$$(sed -n '/static.*indicator_name\[/,/};'/p src/ls.c \ - |sed -n '/^ *"/p'|tr , '\n'|sed 's/^ *//' \ - |sed -n 's/^"\(..\)"/\1/p'|sort -u); \ + dc=$$(sed -n '/static.*ls_codes\[/,/};'/p \ + $(srcdir)/src/dircolors.c \ + |sed -n '/^ *"/p'|tr , '\n'|sed 's/^ *//' \ + |sed -n 's/^"\(..\)"/\1/p'|sort -u); \ + ls=$$(sed -n '/static.*indicator_name\[/,/};'/\p \ + $(srcdir)/src/ls.c \ + |sed -n '/^ *"/p'|tr , '\n'|sed 's/^ *//' \ + |sed -n 's/^"\(..\)"/\1/p'|sort -u); \ test "$$dc" = "$$ls" -- cgit v1.2.3-54-g00ecf