mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
make/*.mk: More performance tweaks
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
ab872fe334
commit
f40356cf59
5 changed files with 25 additions and 21 deletions
|
|
@ -34,6 +34,27 @@ REMOTE_GIT_DIR = /srv/git/$(JANWARE_USER)/$(REMOTE_GIT_FLAVOUR)/$(RPM_PROJECT)
|
|||
REMOTE_GIT_URL = ssh://$(JANWARE_USER)@git.janware.com$(REMOTE_GIT_DIR)
|
||||
|
||||
include $(MODDIR)/make/dirs.mk
|
||||
|
||||
ifneq ($(DONT_CHECK_PREREQ_DONE),true)
|
||||
ifndef PREREQ
|
||||
PREREQ := $(call proj_query,pkg-requires --no-version --no-subpackages --subsections=jw --delimiter=' ' build $(PROJECT))
|
||||
endif
|
||||
ifndef PREREQ_DIRS
|
||||
PREREQ_DIRS := $(call proj_query,proj-dir $(PREREQ))
|
||||
endif
|
||||
PREREQ_DIRS_DONE := $(addsuffix /dirs-all.done,$(filter-out $(TOPDIR) /opt/%,$(PREREQ_DIRS)))
|
||||
endif
|
||||
|
||||
ifneq ($(SUBDIRS_TO_ITERATE),)
|
||||
|
||||
ifeq ($(MAKECMDGOALS),)
|
||||
SUBDIR_TARGETS = all
|
||||
else
|
||||
SUBDIR_TARGETS = $(filter $(ALLOWED_SUBDIR_TARGETS),$(MAKECMDGOALS))
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
include $(MODDIR)/make/rpmdist.mk
|
||||
include $(MODDIR)/make/rules.mk
|
||||
include $(MODDIR)/make/doc-rules.mk
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue