Fix circular dependency build issue. - tgtimes - The Gopher Times | |
git clone git://bitreich.org/tgtimes git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 0be02ade9563ea57cd9b8460933332cc217f7fbf | |
parent 742ada98ad4701335d64d9badb58af6e7164923d | |
Author: Bojan Petrović <[email protected]> | |
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 <[email protected]> | |
Diffstat: | |
M Makefile | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
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 |