From 8e95deabfab0ee6af59175873bcc73e3e38ffc0d Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Mon, 23 Sep 2019 10:44:02 -0400 Subject: [PATCH] also generate html --- .gitignore | 1 + Makefile | 22 +++++++++++++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index a136337..f4df0be 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ *.pdf +*.html diff --git a/Makefile b/Makefile index 036ac76..72d3d04 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,10 @@ ISSUES != find issues -type d DEST_PDF_FILES := $(ISSUES:issues/%=issue-%.pdf) +DEST_HTML_FILES := $(ISSUES:issues/%=issue-%.html) PANDOC != command -v pandoc 2> /dev/null -all: $(DEST_PDF_FILES) +all: $(DEST_PDF_FILES) $(DEST_HTML_FILES) issue-%.pdf: issues/% $(PANDOC) \ @@ -17,3 +18,22 @@ issue-%.pdf: issues/% --output $@ \ $" \ + --metadata include-after:"" \ + --css https://tilde.team/css/hacker.css \ + --output $@ \ + $