diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-09-22 16:04:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-22 16:04:24 +0000 |
commit | 34b87961afb34f53fbdcce1db47bbe9399dd3a2f (patch) | |
tree | d0e61003e8186ebdb3e033c33d7349d88ef8d359 | |
parent | b05bdfd970505b615494d88939a6b22afd1fda77 (diff) | |
parent | 63ba4ff871ae00fa869eb3d290362399e8963105 (diff) | |
download | podman-34b87961afb34f53fbdcce1db47bbe9399dd3a2f.tar.gz podman-34b87961afb34f53fbdcce1db47bbe9399dd3a2f.tar.bz2 podman-34b87961afb34f53fbdcce1db47bbe9399dd3a2f.zip |
Merge pull request #7714 from rhatdan/make
Print nice error message when python is not installed
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -135,8 +135,13 @@ export PRINT_HELP_PYSCRIPT err_if_empty = $(if $(strip $($(1))),$(strip $($(1))),$(error Required variable $(1) value is undefined, whitespace, or empty)) .PHONY: help +ifneq (, ${PYTHON}) help: @$(PYTHON) -c "$$PRINT_HELP_PYSCRIPT" < $(MAKEFILE_LIST) +else +help: + $(error python required for 'make help', executable not found) +endif .gopathok: ifeq ("$(wildcard $(GOPKGDIR))","") |