浏览代码

rename Readme

Sassan 3 年之前
父节点
当前提交
981c4a5b5c
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      Makefile

+ 5 - 0
Makefile

@@ -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)