|
|
mkfile - tgtimes - The Gopher Times |
|
|
 |
git clone git://bitreich.org/tgtimes git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/tgtimes (git://bitreich.org) |
|
|
 |
Log |
|
|
 |
Files |
|
|
 |
Refs |
|
|
 |
Tags |
|
|
 |
README |
|
|
|
--- |
|
|
|
mkfile (667B) |
|
|
|
--- |
|
|
|
1 <opus |
|
|
|
2 |
|
|
|
3 date=`{date -f YYYY-MM-DD} |
|
|
|
4 ps='<< /PageSize [323 670] >> setpagedevice' |
|
|
|
5 tgtimes=opus$v/tgtimes$v |
|
|
|
6 |
|
|
|
7 %.txt:V: tmac.w %.mw |
|
|
|
8 nroff $prereq | col -xb | awk '/./{X=0} /^$/{X++} X<5' >$target |
|
|
|
9 |
|
|
|
10 %.pdf:V: tmac.w %.mw |
|
|
|
11 troff $prereq | aux/tr2post -P $ps | ps2pdf >$target |
|
|
|
12 |
|
|
|
13 all:V: $tgtimes.pdf $tgtimes.txt |
|
|
|
14 |
|
|
|
15 view:V: tmac.w $tgtimes.mw |
|
|
|
16 troff $prereq | proof |
|
|
|
17 |
|
|
|
18 clean:V: |
|
|
|
19 rm -f $tgtimes.pdf $tgtimes.txt |
|
|
|
20 |
|
|
|
21 publish:V: $tgtimes.pdf $tgtimes.txt |
|
|
|
22 mkdir -p archive/$date |
|
|
|
23 cp $tgtimes.txt archive/$date/tgtimes-$date-opus$v.txt |
|
|
|
24 cp $tgtimes.pdf archive/$date/tgtimes-$date-opus$v.pdf |
|
|
|
25 cp $tgtimes.mw archive/$date/tgtimes-$date-opus$v.mw |
|
|
|
26 cd archive && ./mk-atom.sh > news.atom.xml |
|