blob: bc6cbd906c54107e9c5b39880bd33c1318c6a392 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
CSS=style.css
.PHONY: all, html, pdf, clean
all: pdf html
rcheatsheet.html: rcheatsheet.md
cat $< | ./highlight_code.py | pandoc -s -S -A footer.html -f markdown_github -H $(CSS) -o $@ -;
sed -i -f remove_table_width.sed $@
rcheatsheet.pdf: rcheatsheet.html
pandoc -f html $< -o $@
html: rcheatsheet.html
pdf: rcheatsheet.pdf
clean:
rm *.pdf *.html
|