pandoc_sources := $(wildcard *.md) presentations = $(pandoc_sources:%.md=%.html) basedir = ../.. core_code_files := reset.css reveal.css theme/black.css reveal.js plugin_code_files := notes/notes.js search/search.js zoom/zoom.js all_core_code_files = $(core_code_files:%=$(basedir)/revealjs/dist/%) all_plugin_code_files = $(plugin_code_files:%=$(basedir)/revealjs/plugin/%) all: $(presentations) $(presentations): %.html : %.md $(basedir)/.gitignore \ $(all_core_code_files) $(all_plugin_code_files) # mkdir -p $(dir $@) pandoc -f commonmark_x -t revealjs --slide-level=2 --standalone -V revealjs-url=$(basedir)/revealjs --resource-path=.. -o "$@" -- "$<" $(all_core_code_files): $(basedir)/revealjs/dist/%: wget -P revealjs -x -nH --cut-dirs=2 --directory-prefix=$(basedir)/revealjs/dist https://unpkg.com/reveal.js@^4/dist/"$*" $(all_plugin_code_files): $(basedir)/revealjs/plugin/%: wget -P revealjs -x -nH --cut-dirs=1 --directory-prefix=$(basedir)/revealjs https://unpkg.com/reveal.js@^4/plugin/"$*" 'master' selected='selected'>master Unnamed repository; edit this file 'description' to name the repository.Jonas Smedegaard
summaryrefslogtreecommitdiff
path: root/tags/dd/c6/c0cf1a3c-08a0-017a-191c-8f33b772c5da@softwarefreedom.org/attachment
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200
committerJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200
commitfd54908da2b05c526dd3bee9b6dcd093214a220d (patch)
treec69c845069c99d1d01044f6fafda7c08433329c6 /tags/dd/c6/c0cf1a3c-08a0-017a-191c-8f33b772c5da@softwarefreedom.org/attachment
parentba46132213560cf3335d53560d519c0ec0190da2 (diff)
master
Diffstat (limited to 'tags/dd/c6/c0cf1a3c-08a0-017a-191c-8f33b772c5da@softwarefreedom.org/attachment')
-rw-r--r--tags/dd/c6/c0cf1a3c-08a0-017a-191c-8f33b772c5da@softwarefreedom.org/attachment0
1 files changed, 0 insertions, 0 deletions