Update after a long time!

This commit is contained in:
Dominic Grimm 2023-03-23 17:59:10 +01:00
parent 2bc7ee5f42
commit d6f7a51e11
No known key found for this signature in database
GPG key ID: 12EFFCAEA9E620BF
32 changed files with 3005 additions and 117 deletions

30
presentation/Makefile Normal file
View file

@ -0,0 +1,30 @@
# Author: Daniel Nicolas Gisolfi
# Date: 2020-8-11
source=$(shell find . -type f -name "*.md")
title=$(shell grep -m 1 title $(source) | cut -d ':' -f2 | xargs)
version=$(shell grep -m 1 version $(source) | cut -d ':' -f2 | xargs)
theme=$(shell find . -type f -name "*.css")
flags=--allow-local-files --theme $(theme)
devflags=--server --watch --allow-local-files
dist="./dist"
.PHONY: pptx
pptx:
marp $(flags) "$(source)" -o "$(dist)/$(title)-$(version).pptx"
.PHONY: pdf
pdf:
marp $(flags) "$(source)" -o "$(dist)/$(title)-$(version).pdf"
.PHONY: html
html:
marp $(flags) "$(source)" -o "$(dist)/$(title)-$(version).html"
.PHONY: png
png:
marp $(flags) --images png "$(source)"
.PHONY: dev
dev:
marp $(devflags) .