Convert .ext to .ptxt instead of .ext.ptext thus allowing incremental build. - … | |
git clone git://bitreich.org/tgtimes git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 7721821497944e8412140478d72d9d0204e21df6 | |
parent 3f45fceee6067b32c58ffa2aa0ae659847ee6002 | |
Author: Christoph Lohmann <[email protected]> | |
Date: Thu, 10 Aug 2023 10:33:24 +0200 | |
Convert .ext to .ptxt instead of .ext.ptext thus allowing incremental build. | |
Diffstat: | |
M Makefile | 6 +++--- | |
1 file changed, 3 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
@@ -15,7 +15,7 @@ mdptxtfiles=${mdfiles:.md=.ptxt} | |
| ./filters/markdown.filter \ | |
| fold -s \ | |
| ./filters/boxquote.filter \ | |
- > $<.ptxt | |
+ > $@ | |
txtfiles=$(filter-out ${tgtimes}.txt, $(wildcard opus${v}/*.txt)) | |
txtptxtfiles=${txtfiles:.txt=.ptxt} | |
@@ -23,12 +23,12 @@ txtptxtfiles=${txtfiles:.txt=.ptxt} | |
cat $< \ | |
| fold -s \ | |
| ./filters/boxquote.filter \ | |
- > $<.ptxt | |
+ > $@ | |
rawfiles=$(wildcard opus${v}/*.raw) | |
rawptxtfiles=${rawfiles:.raw=.ptxt} | |
.raw.ptxt: | |
- cat $< > $<.ptxt | |
+ cat $< > $@ | |
${tgtimes}.txt: ${mdptxtfiles} ${txtptxtfiles} ${rawptxtfiles} |