summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 $@