From acfdc09f0325716b7f77b63f304bac2a79aff053 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Sun, 23 Jun 2019 14:15:06 +0200 Subject: [PATCH] Hack, hack, hack --- Makefile | 8 ++++---- header.html | 53 +++++++++++++++++++++++++++++++---------------------- styles.css | 53 +++++++++++++++++++++++++++++++---------------------- 3 files changed, 66 insertions(+), 48 deletions(-) diff --git a/Makefile b/Makefile index a873221..02656b1 100644 --- a/Makefile +++ b/Makefile @@ -8,11 +8,11 @@ STYLES := styles.css WEASYPRINT := weasyprint -s $(STYLES) portfolio: - @mkdir -p generated - @$(CURL) $(PORTFOLIO) | $(PANDOC) \ + @mkdir -p generated && \ + $(CURL) $(PORTFOLIO) | $(PANDOC) \ --read markdown \ --write html \ --standalone \ --include-in-header $(HEADER) \ - --output $(GENERATED_DIR)/portfolio.html - @$(WEASYPRINT) --presentational-hints $(GENERATED_DIR)/portfolio.html $(GENERATED_DIR)/portfolio.pdf + --output $(GENERATED_DIR)/portfolio.html && \ + $(WEASYPRINT) --presentational-hints $(GENERATED_DIR)/portfolio.html $(GENERATED_DIR)/portfolio.pdf diff --git a/header.html b/header.html index 6106878..2a48843 100644 --- a/header.html +++ b/header.html @@ -1,5 +1,10 @@