James Youngman <[EMAIL PROTECTED]> wrote:
> 2008-02-19 James Youngman <[EMAIL PROTECTED]>
>
> * Makefile.am (check-ls-dircolors): Look for sources under
> $(top_srcdir), not under ".".
Thanks.
I've pushed this, retaining backslash alignment
and using $(srcdir) rather than $(top_srcdir).
Fix non-srcdir "make distcheck" failure.
* Makefile.am (check-ls-dircolors): Look for sources under
$(srcdir), not under ".".
diff --git a/Makefile.am b/Makefile.am
index fcf5cfa..67f4934 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"
--
1.5.4.2.134.g82883
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils