From 1805e1d075d73810d23ba33a1952b67af5703a8a Mon Sep 17 00:00:00 2001 From: Orestis Malaspinas <orestis.malaspinas@hesge.ch> Date: Wed, 18 Sep 2019 10:22:33 +0200 Subject: [PATCH] updated makefile --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index f2cd0b5..f069b49 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,10 @@ PDFOPTIONS += --pdf-engine pdflatex PDFOPTIONS += --number-sections PDFOPTIONS += --template=./default.latex +HTMLOPTIONS += -t html5 +HTMLOPTIONS += -c css/styling.css +HTMLOPTIONS += --self-contained + all: base_1.pdf intro.pdf intro.pdf: intro.md *.theme @@ -14,6 +18,9 @@ intro.pdf: intro.md *.theme base_1.pdf: base_1.md *.theme pandoc -t beamer -o $@ $< +index.html: index.md + pandoc -s $(OPTIONS) $(HTMLOPTIONS) -o $@ $< + deploy: all mkdir -p prog_seq_c_cours cp *.pdf prog_seq_c_cours -- GitLab