Merge branch 'gh-pages' into library-carpentry
[rnaseq-cwl-training.git] / Makefile
index 71166297823615ef511eda638c301c55cc02036a..0f395a310aeb0d795abed5ef50a77ee745337236 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -17,15 +17,15 @@ commands :
 
 ## serve            : run a local server.
 serve : lesson-rmd
-       ${JEKYLL} serve --config _config.yml,_config_dev.yml
+       ${JEKYLL} serve
 
 ## site             : build files but do not run a server.
 site : lesson-rmd
-       ${JEKYLL} build --config _config.yml,_config_dev.yml
+       ${JEKYLL} build
 
-## 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 .
 
 ## clean            : clean up junk files.
 clean :
@@ -91,6 +91,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