Fix circular dependency build issue. - tgtimes - The Gopher Times
(HTM) git clone git://bitreich.org/tgtimes git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/tgtimes
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit 0be02ade9563ea57cd9b8460933332cc217f7fbf
(DIR) parent 742ada98ad4701335d64d9badb58af6e7164923d
(HTM) Author: Bojan Petrović <bojan_petrovic@fastmail.fm>
Date: Mon, 7 Aug 2023 21:57:58 +0200
Fix circular dependency build issue.
After a `make clean; make; make`, make hangs with:
make: Circular opus7/tgtimes7.ptxt <- opus7/tgtimes7.txt dependency dropped.
cat | fold -s > .ptxt
tgtimes$v.txt is now excluded from dependencies picked up by wildcard
expansion.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Diffstat:
M Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/Makefile b/Makefile
@@ -13,7 +13,7 @@ mdptxtfiles=${mdfiles:.md=.ptxt}
.md.ptxt:
cat $< | fold -s > $<.ptxt
-txtfiles=$(wildcard opus${v}/*.txt)
+txtfiles=$(filter-out ${tgtimes}.txt, $(wildcard opus${v}/*.txt))
txtptxtfiles=${txtfiles:.txt=.ptxt}
.txt.ptxt:
cat $< | fold -s > $<.ptxt