Tidying up based on first contact with R maintainers.
[rnaseq-cwl-training.git] / Makefile
index b645947d9f34955d659f7f9e1dde7e7451324712..154203a48540e7740050ba58feae0f8983aea6d1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,7 @@
 # Settings
 MAKEFILES=Makefile $(wildcard *.mk)
 JEKYLL=jekyll
+PARSER=bin/markdown_ast.rb
 DST=_site
 
 # Controls
@@ -24,7 +25,7 @@ site :
 
 ## figures        : re-generate inclusion displaying all figures.
 figures :
-       @bin/extract_figures.py -s _episodes -p bin/markdown-ast.rb > _includes/all_figures.html
+       @bin/extract_figures.py -s _episodes -p ${PARSER} > _includes/all_figures.html
 
 ## clean          : clean up junk files.
 clean :
@@ -71,7 +72,7 @@ HTML_FILES = \
 
 ## lesson-check   : validate lesson Markdown.
 lesson-check :
-       @bin/lesson_check.py -s . -p bin/markdown-ast.rb
+       @bin/lesson_check.py -s . -p ${PARSER}
 
 unittest :
        python bin/test_lesson_check.py