X-Git-Url: https://git.arvados.org/rnaseq-cwl-training.git/blobdiff_plain/d2710514cf299b6d1f1261054442e043aeda201c..b32734f0d3ed6a31e4206b3feb245b6ceaf78cb2:/Makefile diff --git a/Makefile b/Makefile index b5dfe2f..a5765c7 100644 --- a/Makefile +++ b/Makefile @@ -65,9 +65,9 @@ MARKDOWN_SRC = \ index.md \ CONDUCT.md \ setup.md \ - $(wildcard _episodes/*.md) \ + $(sort $(wildcard _episodes/*.md)) \ reference.md \ - $(wildcard _extras/*.md) \ + $(sort $(wildcard _extras/*.md)) \ LICENSE.md # Generated lesson files in the order they appear in the navigation menu. @@ -75,9 +75,9 @@ HTML_DST = \ ${DST}/index.html \ ${DST}/conduct/index.html \ ${DST}/setup/index.html \ - $(patsubst _episodes/%.md,${DST}/%/index.html,$(wildcard _episodes/*.md)) \ + $(patsubst _episodes/%.md,${DST}/%/index.html,$(sort $(wildcard _episodes/*.md))) \ ${DST}/reference/index.html \ - $(patsubst _extras/%.md,${DST}/%/index.html,$(wildcard _extras/*.md)) \ + $(patsubst _extras/%.md,${DST}/%/index.html,$(sort $(wildcard _extras/*.md))) \ ${DST}/license/index.html ## lesson-md : convert Rmarkdown files to markdown @@ -93,11 +93,7 @@ lesson-check : ## lesson-check-all : validate lesson Markdown, checking line lengths and trailing whitespace. 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 + @bin/lesson_check.py -s . -p ${PARSER} -l -w --permissive ## unittest : run unit tests on checking tools. unittest :