tMakefile - brcon2020_adc - my presentation for brcon2020
HTML git clone git://src.adamsgaard.dk/brcon2020_adc
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
tMakefile (480B)
---
1 .POSIX:
2
3 src = brcon2020_adc.md
4 pdf = $(src:.md=.pdf)
5 dist = $(src:.md=.tar.gz)
6 txt = 0000-_brcon2020_-_2020-05-02.txt
7
8 $(txt): $(src)
9 rm -f *.txt
10 cat $(src) | md2point
11
12 dist: $(dist)
13
14 show: $(txt)
15 catpoint *.txt
16
17 preview: $(txt)
18 nohup st -T midcenter -g 100x35 catpoint *.txt >/dev/null 2>&1 &
19
20 $(pdf): $(txt)
21 cat *.txt | point2pdf $(@:.pdf=)
22
23 $(dist): $(txt) $(src)
24 tar cfz $@ *.txt $(src)
25
26 clean:
27 rm -f *.txt
28 rm -f *.pdf
29 rm -f $(dist)
30
31 .PHONY: show preview clean dist