aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2017-02-12 13:47:56 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2017-02-12 13:47:56 +0100
commitb84947f6bc38b3ec1196604e316971b67254966a (patch)
treec049c0ceaa139a7532a6abaffcd9fb03e5dd6b62 /Makefile
parent2f854535949c90e67ad7daf748d08944a72b2b23 (diff)
downloadrcheatsheet-b84947f6bc38b3ec1196604e316971b67254966a.tar.gz
rcheatsheet-b84947f6bc38b3ec1196604e316971b67254966a.zip
add css to html target and fix clean
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bc6cbd9..1fbf6e6 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ CSS=style.css
all: pdf html
-rcheatsheet.html: rcheatsheet.md
+rcheatsheet.html: rcheatsheet.md $(CSS)
cat $< | ./highlight_code.py | pandoc -s -S -A footer.html -f markdown_github -H $(CSS) -o $@ -;
sed -i -f remove_table_width.sed $@
@@ -17,5 +17,5 @@ html: rcheatsheet.html
pdf: rcheatsheet.pdf
clean:
- rm *.pdf *.html
+ rm *.pdf rcheatsheet.html