2008-02-19 James Youngman <[EMAIL PROTECTED]>
* Makefile.am (check-ls-dircolors): Look for sources under
$(top_srcdir), not under ".".
Signed-off-by: James Youngman <[EMAIL PROTECTED]>
---
Makefile.am | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index fcf5cfa..8747072 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 \
+ dc=$$(sed -n '/static.*ls_codes\[/,/};'/p \
+ $(top_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 src/ls.c \
+ ls=$$(sed -n '/static.*indicator_name\[/,/};'/\p \
+ $(top_srcdir)/src/ls.c \
|sed -n '/^ *"/p'|tr , '\n'|sed 's/^ *//' \
|sed -n 's/^"\(..\)"/\1/p'|sort -u); \
test "$$dc" = "$$ls"
--
1.5.3.8
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils