Makefile 342 Bytes
Newer Older
1
MD_FILES=$(wildcard *.md)
2 3
ORG_FILES=$(wildcard *.org)

4 5 6 7 8 9
all: html htmlorg

html: $(MD_FILES)
	cd .. ; mkdocs build

htmlorg: $(ORG_FILES)
10
	make $(subst .org,.html, $^)
11 12 13 14

%.html: %.org
# Requires emacs with org-mode
	emacs -batch $^ -f "org-html-export-to-html"
15

Mathieu Giraud's avatar
Mathieu Giraud committed
16
analysis-example%: vidjil-format.md
17
	python ../tools/org-babel-tangle.py --all $^