projects
/
rnaseq-cwl-training.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added PYTHON variable to define executable to run python scripts
[rnaseq-cwl-training.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index ac587b879e52e3fb22134f0b9786c1188f207bd9..8fc7d806394c430b8bd74af8e0df99449801cecf 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-4,9
+4,10
@@
# Settings
MAKEFILES=Makefile $(wildcard *.mk)
JEKYLL=jekyll
# Settings
MAKEFILES=Makefile $(wildcard *.mk)
JEKYLL=jekyll
-JEKYLL_VERSION=3.
7.3
+JEKYLL_VERSION=3.
8.5
PARSER=bin/markdown_ast.rb
DST=_site
PARSER=bin/markdown_ast.rb
DST=_site
+PYTHON=python3
# Controls
.PHONY : commands clean files
# Controls
.PHONY : commands clean files
@@
-54,7
+55,7
@@
clean-rmd :
## workshop-check : check workshop homepage.
workshop-check :
## workshop-check : check workshop homepage.
workshop-check :
-
@
bin/workshop_check.py .
+
${PYTHON}
bin/workshop_check.py .
## ----------------------------------------
## Commands specific to lesson websites.
## ----------------------------------------
## Commands specific to lesson websites.
@@
-93,15
+94,15
@@
_episodes/%.md: _episodes_rmd/%.Rmd
## lesson-check : validate lesson Markdown.
lesson-check : lesson-fixme
## lesson-check : validate lesson Markdown.
lesson-check : lesson-fixme
-
@
bin/lesson_check.py -s . -p ${PARSER} -r _includes/links.md
+
${PYTHON}
bin/lesson_check.py -s . -p ${PARSER} -r _includes/links.md
## lesson-check-all : validate lesson Markdown, checking line lengths and trailing whitespace.
lesson-check-all :
## lesson-check-all : validate lesson Markdown, checking line lengths and trailing whitespace.
lesson-check-all :
-
@
bin/lesson_check.py -s . -p ${PARSER} -r _includes/links.md -l -w --permissive
+
${PYTHON}
bin/lesson_check.py -s . -p ${PARSER} -r _includes/links.md -l -w --permissive
## unittest : run unit tests on checking tools.
unittest :
## unittest : run unit tests on checking tools.
unittest :
-
@
bin/test_lesson_check.py
+
${PYTHON}
bin/test_lesson_check.py
## lesson-files : show expected names of generated files for debugging.
lesson-files :
## lesson-files : show expected names of generated files for debugging.
lesson-files :