Skip to content

Commit 25b033c

Browse files
committed
Makefile: exclude packages already in packit from subpackages
Exclude packages that were added to packit from the subpackages target. That will exclude also from the `Build Subpackages` job in the pipelines, as the build environment have missing dependencies. Signed-off-by: Albert Esteve <[email protected]>
1 parent 83ec40f commit 25b033c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
TARGETS ?= qm
2+
# Exclude subpackages that have their own Packit pipelines
3+
PACKIT_SUBPACKAGES := wayland qm-oci-hooks
4+
FILTERED_TARGETS := $(filter-out $(PACKIT_SUBPACKAGES),$(TARGETS))
25
MODULES ?= ${TARGETS:=.pp.bz2}
36
DESTDIR ?=
47
PREFIX ?= /usr
@@ -83,8 +86,8 @@ rpm: clean dist ## - Creates a local RPM package, useful for develop
8386
${SPECFILE}
8487

8588
.PHONY: subpackages
86-
subpackages: $(TARGETS)
87-
$(TARGETS):
89+
subpackages: $(FILTERED_TARGETS)
90+
$(FILTERED_TARGETS):
8891
@echo "Entering directory: subsystem/$@"
8992
make -f subsystems/$@/Makefile $@
9093

0 commit comments

Comments
 (0)