summaryrefslogtreecommitdiff
path: root/t/lex-depend-grep.sh
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2018-02-25 23:03:05 +0100
committerMathieu Lirzin <mthl@gnu.org>2018-02-25 23:03:05 +0100
commitbe971a1d87d84d94cc073fcd5dbc6e7105b4d011 (patch)
treef530fc501658a6cc29d10fa3d5d9c1c08b193766 /t/lex-depend-grep.sh
parent9ec19184fe3df21f20417c4f73ffe46f9610b5c7 (diff)
parent4f73bb80d1583441ed4a1c681a843fe4d9d5e26c (diff)
downloadautomake-maint.tar.gz
Merge branch 'release' into maintmaint
Diffstat (limited to 't/lex-depend-grep.sh')
-rw-r--r--t/lex-depend-grep.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/lex-depend-grep.sh b/t/lex-depend-grep.sh
index ac4c9b3f4..c84e50c83 100644
--- a/t/lex-depend-grep.sh
+++ b/t/lex-depend-grep.sh
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 1999-2017 Free Software Foundation, Inc.
+# Copyright (C) 1999-2018 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -12,7 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
# Test to make sure dependencies for Lex and C/C++ does not break
# in obvious ways. See PR automake/6, and related semantic tests
@@ -40,7 +40,7 @@ $AUTOMAKE -a
$EGREP '([mj]oe|_[01234]|include|\.P)' Makefile.in # For debugging.
for x in joe moe _0 _1 _2 _3 _4; do
- grep "include.*$x\.Po" Makefile.in
+ $EGREP '\$\(DEPDIR\)/'"$x"'\.Po( |$)' Makefile.in
done
: