Skip to content
Snippets Groups Projects
Commit bedf92b8 authored by orestis.malaspin's avatar orestis.malaspin
Browse files

updated makefile, thanks to florent, and updated gitlab-ci accordingly

parent 1341aa92
Branches
Tags
No related merge requests found
Pipeline #
......@@ -2,16 +2,10 @@ image: omalaspinas/archlinux-pandoc:thirdtry
build_only:
script:
- cd figs
- ./convert.sh
- cd ..
- make
build_artifacts:
script:
- cd figs
- ./convert.sh
- cd ..
- make
artifacts:
paths:
......
......@@ -26,8 +26,13 @@ REVEALOPRIONS += --highlight-style espresso
REVEALOPRIONS += --self-contained
# REVEALOPRIONS += --include-in-header=reveal.js/left_just.css
SVG=$(wildcard figs/*.svg)
PNG=$(SVG:%.svg=%.png)
all: intro.html variables.html
all: $(PNG) intro.html variables.html
figs/%.png: figs/%.svg
convert \-flatten $< $@
intro.html: intro.md Makefile
pandoc -s $(REVEALOPRIONS) -o $@ $<
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment