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 ...@@ -2,16 +2,10 @@ image: omalaspinas/archlinux-pandoc:thirdtry
build_only: build_only:
script: script:
- cd figs
- ./convert.sh
- cd ..
- make - make
build_artifacts: build_artifacts:
script: script:
- cd figs
- ./convert.sh
- cd ..
- make - make
artifacts: artifacts:
paths: paths:
......
...@@ -26,8 +26,13 @@ REVEALOPRIONS += --highlight-style espresso ...@@ -26,8 +26,13 @@ REVEALOPRIONS += --highlight-style espresso
REVEALOPRIONS += --self-contained REVEALOPRIONS += --self-contained
# REVEALOPRIONS += --include-in-header=reveal.js/left_just.css # 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 intro.html: intro.md Makefile
pandoc -s $(REVEALOPRIONS) -o $@ $< 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