summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMina Galić <me+git@igalic.co>2022-10-14 19:13:21 +0100
committerGitHub <noreply@github.com>2022-10-14 13:13:21 -0500
commitee8fa37a049226f4b01284854d858aa0fa1073ee (patch)
tree243cd57a3562c083db24e5c0940361cbd086fd0a /Makefile
parentc419465f42e53e3c7dee3d030c0f85a86e257267 (diff)
downloadcloud-init-git-ee8fa37a049226f4b01284854d858aa0fa1073ee.tar.gz
make Makefile make agnostic (#1786)
remove ifeq assignment, and replace with ?= which should do the same thing this makes our Makefile make agnostic
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4f5dd405..a0221c27 100644
--- a/Makefile
+++ b/Makefile
@@ -8,9 +8,7 @@ PYTHON ?= python3
NUM_ITER ?= 100
-ifeq ($(distro),)
- distro = redhat
-endif
+distro ?= redhat
READ_VERSION=$(shell $(PYTHON) $(CWD)/tools/read-version || echo read-version-failed)
CODE_VERSION=$(shell $(PYTHON) -c "from cloudinit import version; print(version.version_string())")