bug-coreutils
[Top][All Lists]
Advanced

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

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


From: James Youngman
Subject: [PATCH] Fix check-ls-dircolors for VPATH build.
Date: Tue, 19 Feb 2008 11:39:04 +0000

2008-02-19  James Youngman  <address@hidden>

        * Makefile.am (check-ls-dircolors): Look for sources under
        $(top_srcdir), not under ".".

Signed-off-by: James Youngman <address@hidden>
---
 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





reply via email to

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