|
@@ -1,5 +1,10 @@
|
|
|
pythonReq := $(shell python3 -c 'import yaml' > /dev/null 2>&1 && (echo "installed" ) || (echo "not installed "; exit 1) )
|
|
|
|
|
|
+PYTHON3_OK := $(shell python3 --version 2>&1)
|
|
|
+ifeq ('$(PYTHON3_OK)','')
|
|
|
+ $(error package 'python3' not found)
|
|
|
+endif
|
|
|
+
|
|
|
check:
|
|
|
@echo yaml module $(pythonReq)
|
|
|
|