Introduction
Introduction Statistics Contact Development Disclaimer Help
Add raw file styling with no processing. - tgtimes - The Gopher Times
git clone git://bitreich.org/tgtimes git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws…
Log
Files
Refs
Tags
README
---
commit 45110ef8312c185c26327b37a314ece355633605
parent 37d1188200d838b65157ab445952bac8eb0891b7
Author: Christoph Lohmann <[email protected]>
Date: Sun, 25 Jun 2023 14:55:54 +0200
Add raw file styling with no processing.
Diffstat:
M Makefile | 14 ++++++++++----
R opus7/0-xxx-header.txt -> opus7/0-… | 0
2 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/Makefile b/Makefile
@@ -3,11 +3,11 @@ include opus
date=$$(date +%Y-%m-%d)
tgtimes=opus$v/tgtimes$v
-.SUFFIXES: .txt .md .ps .pdf .ptxt
+.SUFFIXES: .txt .md .ps .pdf .ptxt .raw
all: ${tgtimes}.pdf
-# Mdfile conversation.
+# File type processing.
mdfiles=$(wildcard opus${v}/*.md)
mdptxtfiles=${mdfiles:.md=.ptxt}
.md.ptxt:
@@ -18,7 +18,13 @@ txtptxtfiles=${txtfiles:.txt=.ptxt}
.txt.ptxt:
cat $< > $<.ptxt
-${tgtimes}.txt: ${mdptxtfiles} ${txtptxtfiles}
+rawfiles=$(wildcard opus${v}/*.raw)
+rawptxtfiles=${rawfiles:.raw=.ptxt}
+.raw.ptxt:
+ cat $< > $<.ptxt
+
+
+${tgtimes}.txt: ${mdptxtfiles} ${txtptxtfiles} ${rawptxtfiles}
cat opus${v}/?-*.ptxt > ${tgtimes}.txt
@@ -27,7 +33,7 @@ ${tgtimes}.pdf: ${tgtimes}.txt
9 ps2pdf ${tgtimes}.ps ${tgtimes}.pdf
clean:
- rm -f ${tgtimes}.pdf ${tgtimes}.txt *.ptxt
+ rm -f ${tgtimes}.pdf ${tgtimes}.txt opus${v}/*.ptxt
publish: ${tgtimes}.pdf ${tgtimes}.txt
mkdir -p archive/${date}
diff --git a/opus7/0-xxx-header.txt b/opus7/0-xxx-header.raw
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.