[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 01/01: tmac.am: do not use $< in a non-portable way
From: |
Ingo Schwarze |
Subject: |
[groff] 01/01: tmac.am: do not use $< in a non-portable way |
Date: |
Wed, 14 Oct 2020 09:51:43 -0400 (EDT) |
schwarze pushed a commit to branch master
in repository groff.
commit 997b6b3c4582cc2897a1a79fb03dd7d2b88909cb
Author: Ingo Schwarze <schwarze@openbsd.org>
AuthorDate: Wed Oct 14 13:52:29 2020 +0200
tmac.am: do not use $< in a non-portable way
fixes https://savannah.gnu.org/bugs/?59268
OK gbranden@
---
tmac/tmac.am | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tmac/tmac.am b/tmac/tmac.am
index de5d174..05eb259 100644
--- a/tmac/tmac.am
+++ b/tmac/tmac.am
@@ -207,14 +207,14 @@ M4WORDS =
define|divert|include|index|shift|undefine|undivert
M4CHECK = tmac/check-groff_man-stamp
$(M4CHECK): tmac/groff_man.7.man.in
- ! grep -E '(^|[[:space:]])($(M4WORDS))($$|[[:space:]])' $<
- > $@
+ ! grep -E '(^|[[:space:]])($(M4WORDS))($$|[[:space:]])' \
+ $(tmac_srcdir)/groff_man.7.man.in > $@
tmac/groff_man.7.man: tmac/groff_man.7.man.in $(M4CHECK)
- m4 -D_groff_man_not_style $< > $@
+ m4 -D_groff_man_not_style $(tmac_srcdir)/groff_man.7.man.in > $@
tmac/groff_man_style.7.man: tmac/groff_man.7.man.in $(M4CHECK)
- m4 -D_groff_man_style $< > $@
+ m4 -D_groff_man_style $(tmac_srcdir)/groff_man.7.man.in > $@
# The installation of groff compatibility wrappers for vendor-provided
# non-GNU macro sets is controlled by 'compatibility_wrappers' (see the
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 01/01: tmac.am: do not use $< in a non-portable way,
Ingo Schwarze <=