Sassan vor 3 Jahren
Ursprung
Commit
981c4a5b5c
1 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen
  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)