|
@@ -1,14 +1,17 @@
|
|
|
+
|
|
|
.PHONY: all clean
|
|
|
|
|
|
-all: ../tmp/before.html ../tmp/index.html ../tmp/index_slides.html
|
|
|
+all: ../tmp ../tmp/before.html ../tmp/index.html ../tmp/index_slides.html
|
|
|
|
|
|
-../tmp/before.html: before.md
|
|
|
+../tmp:
|
|
|
mkdir -p ../tmp
|
|
|
- pandoc -o $@ $<
|
|
|
cp template.css slidy.css slidy.js ../tmp
|
|
|
|
|
|
+../tmp/before.html: before.md
|
|
|
+ pandoc -o $@ $<
|
|
|
+
|
|
|
../tmp/index.html: index.md
|
|
|
- pandoc --template template.html --css template.css --toc --toc-depth 1 --include-before ../tmp/before.html -s -o $@ $<
|
|
|
+ pandoc --template template.html --toc --toc-depth 1 --include-before ../tmp/before.html -s -o $@ $<
|
|
|
|
|
|
../tmp/index_slides.html: index.md
|
|
|
pandoc --template template_slidy.html --toc-depth 1 -t slidy -s -o $@ $<
|