summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2016-08-24 10:15:37 -0400
committerEugeniy Mikhailov <evgmik@gmail.com>2016-08-24 10:15:37 -0400
commit0503accc932ecceecb992e739d5d97999d67adc4 (patch)
treeba994ace5f5f60250567a26a562d1c41f3bf99bb
parentfe46d5ee916dd7cf78c332113bff9a506acc7652 (diff)
downloadmakefile_templates-0503accc932ecceecb992e739d5d97999d67adc4.tar.gz
makefile_templates-0503accc932ecceecb992e739d5d97999d67adc4.zip
added pandoc includes to make dependences
-rw-r--r--pandoc.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/pandoc.mk b/pandoc.mk
index 532c900..173ee6e 100644
--- a/pandoc.mk
+++ b/pandoc.mk
@@ -82,13 +82,13 @@ tex_md: $(tex_from_md)
-$(html_from_md): %.html : %.md $(md_fig_files) $(md_configs)
+$(html_from_md): %.html : %.md $(md_fig_files) $(md_configs) $(md_includes)
$(PANDOC_PREPROCESSOR) $< | $(PANDOC_HTML_METADATA) | $(PANDOC) -t html5 $(PANDOC_HTML_OPTIONS) -o $@
-$(tex_from_md): %.tex : %.md $(md_fig_files) $(md_configs)
+$(tex_from_md): %.tex : %.md $(md_fig_files) $(md_configs) $(md_includes)
$(PANDOC_PREPROCESSOR) $< | $(PANDOC_TEX_METADATA) | $(PANDOC) -t latex $(PANDOC_TEX_OPTIONS) -o $@
-$(pdf_from_md): %.pdf : %.md $(md_fig_files) $(md_configs)
+$(pdf_from_md): %.pdf : %.md $(md_fig_files) $(md_configs) $(md_includes)
$(PANDOC_PREPROCESSOR) $< | $(PANDOC_PDF_METADATA) | $(PANDOC) $(PANDOC_PDF_OPTIONS) -o $@