Skip to content

Commit 4534b9c

Browse files
authored
Merge pull request #500 from Alok0587/master
To allow build for selective distros from top directory
2 parents 12d842d + efb8fb1 commit 4534b9c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

deb/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ RUN?=docker run --rm \
3636
$(RUN_FLAGS) \
3737
debbuild-$@/$(ARCH)
3838

39-
DEBIAN_VERSIONS := debian-buster
40-
UBUNTU_VERSIONS := ubuntu-xenial ubuntu-bionic ubuntu-focal
41-
RASPBIAN_VERSIONS := raspbian-buster
39+
DEBIAN_VERSIONS ?= debian-buster
40+
UBUNTU_VERSIONS ?= ubuntu-xenial ubuntu-bionic ubuntu-focal
41+
RASPBIAN_VERSIONS ?= raspbian-buster
4242
DISTROS := $(DEBIAN_VERSIONS) $(UBUNTU_VERSIONS) $(RASPBIAN_VERSIONS)
4343

4444
.PHONY: help

rpm/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ RUN?=docker run --rm \
3939
$(RUN_FLAGS) \
4040
rpmbuild-$@/$(ARCH) $(RPMBUILD_FLAGS)
4141

42-
FEDORA_RELEASES := fedora-32 fedora-31
43-
CENTOS_RELEASES := centos-7 centos-8
44-
RHEL_RELEASES := rhel-7
42+
FEDORA_RELEASES ?= fedora-32 fedora-31
43+
CENTOS_RELEASES ?= centos-7 centos-8
44+
RHEL_RELEASES ?= rhel-7
4545
DISTROS := $(FEDORA_RELEASES) $(CENTOS_RELEASES) $(RHEL_RELEASES)
4646

4747
.PHONY: help

0 commit comments

Comments
 (0)