Skip to content
Snippets Groups Projects
Commit 3fc6ebf5 authored by Raniere Silva's avatar Raniere Silva
Browse files

Merge branch 'core' into gh-pages

parents 3b0b0b32 9dba3d29
No related merge requests found
PANDOC ?= pandoc
# R Markdown files. # R Markdown files.
SRC_RMD = $(wildcard ??-*.Rmd) SRC_RMD = $(wildcard ??-*.Rmd)
DST_RMD = $(patsubst %.Rmd,%.md,$(SRC_RMD)) DST_RMD = $(patsubst %.Rmd,%.md,$(SRC_RMD))
...@@ -43,13 +45,13 @@ preview : $(DST_ALL) ...@@ -43,13 +45,13 @@ preview : $(DST_ALL)
# Pattern for slides (different parameters and template). # Pattern for slides (different parameters and template).
motivation.html : motivation.md _layouts/slides.revealjs Makefile motivation.html : motivation.md _layouts/slides.revealjs Makefile
pandoc -s -t revealjs --slide-level 2 \ ${PANDOC} -s -t revealjs --slide-level 2 \
--template=_layouts/slides \ --template=_layouts/slides \
-o $@ $< -o $@ $<
# Pattern to build a generic page. # Pattern to build a generic page.
%.html : %.md _layouts/page.html $(FILTERS) %.html : %.md _layouts/page.html $(FILTERS)
pandoc -s -t html \ ${PANDOC} -s -t html \
--template=_layouts/page \ --template=_layouts/page \
--filter=tools/filters/blockquote2div.py \ --filter=tools/filters/blockquote2div.py \
--filter=tools/filters/id4glossary.py \ --filter=tools/filters/id4glossary.py \
...@@ -66,6 +68,7 @@ commands : Makefile ...@@ -66,6 +68,7 @@ commands : Makefile
## settings : Show variables and settings. ## settings : Show variables and settings.
settings : settings :
@echo 'PANDOC:' $(PANDOC)
@echo 'SRC_RMD:' $(SRC_RMD) @echo 'SRC_RMD:' $(SRC_RMD)
@echo 'DST_RMD:' $(DST_RMD) @echo 'DST_RMD:' $(DST_RMD)
@echo 'SRC_MD:' $(SRC_MD) @echo 'SRC_MD:' $(SRC_MD)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment