diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2017-02-11 23:48:23 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2017-02-11 23:49:55 +0100 |
| commit | 3dbdc1c69250907025b0a29ca6e136a92ba82b30 (patch) | |
| tree | 5fac692c87be72e6594741d9bf5be5f43c39390d /Makefile | |
| parent | e5e801478e4f982c1ca0dbed05866ca53dcd12d1 (diff) | |
| download | rcheatsheet-3dbdc1c69250907025b0a29ca6e136a92ba82b30.tar.gz rcheatsheet-3dbdc1c69250907025b0a29ca6e136a92ba82b30.zip | |
fix Makefile
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -1,19 +1,21 @@ -CSS=pandoc.css +CSS=style.css -.PHONY: html, pdf, clean, all +.PHONY: all, html, pdf, clean -R_Cheatsheet.html: R_Cheatsheet.md +all: pdf html + +rcheatsheet.html: rcheatsheet.md cat $< | ./highlight_code.py | pandoc -f markdown_github --css $(CSS) --highlight-style kate -o $@ -; sed -i -f remove_table_width.sed $@ -R_Cheatsheet.pdf: R_Cheatsheet.html - pandoc -f html -o $@ +rcheatsheet.pdf: rcheatsheet.html + pandoc -f html $< -o $@ -html: R_Cheatsheet.html -pdf: R_Cheatsheet.pdf +html: rcheatsheet.html + +pdf: rcheatsheet.pdf clean: rm *.pdf *.html -all: pdf html |
