bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix check-ls-dircolors for VPATH build.


From: Jim Meyering
Subject: Re: [PATCH] Fix check-ls-dircolors for VPATH build.
Date: Tue, 19 Feb 2008 13:33:13 +0100

James Youngman <address@hidden> wrote:
> 2008-02-19  James Youngman  <address@hidden>
>
>       * 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]