Tighter checks for figures
[rnaseq-cwl-training.git] / Makefile
index ca981d3ee95ffaf6d07603673c30db648cde4e0a..3b51c3980040754c590ef14ff06e45115dd93ab2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,10 +23,6 @@ serve : lesson-rmd
 site : lesson-rmd
        ${JEKYLL} build --config _config.yml,_config_dev.yml
 
-## figures          : re-generate inclusion displaying all figures.
-figures :
-       @bin/extract_figures.py -s _episodes -p ${PARSER} > _includes/all_figures.html
-
 # repo-check        : check repository settings.
 repo-check :
        @bin/repo_check.py -s .
@@ -96,6 +92,10 @@ lesson-check :
 lesson-check-all :
        @bin/lesson_check.py -s . -p ${PARSER} -l -w
 
+## lesson-figures   : re-generate inclusion displaying all figures.
+lesson-figures :
+       @bin/extract_figures.py -p ${PARSER} ${MARKDOWN_SRC} > _includes/all_figures.html
+
 ## unittest         : run unit tests on checking tools.
 unittest :
        python bin/test_lesson_check.py