From c569b188a42ed0a35ca7d725c3dd85d939a4c718 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Tue, 17 Feb 2026 19:32:19 +0100 Subject: [PATCH] rpmdist.mk: Add target pull-maintainer To complement git-pull-maintainer with something more generic, also suitable for other SCMs, add the target pull-maintainer and make pkg-release-reinstall depend on it. Currently only visible in the context of pkg-% targets, scope might be expanded if need be. Signed-off-by: Jan Lindemann --- make/rpmdist.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/make/rpmdist.mk b/make/rpmdist.mk index d842db80..9430f560 100644 --- a/make/rpmdist.mk +++ b/make/rpmdist.mk @@ -239,6 +239,9 @@ SCM_ADD = cvs add SCM_PUSH = SCM_PULL = cvs update -dP +pull-maintainer: + $(SCM_PULL) + define check_scm_sync echo + checking cvs ;\ $(SCM_PULL) ;\ @@ -265,6 +268,8 @@ SCM_ADD = git add SCM_PUSH = git push SCM_PULL = make git-pull-maintainer +pull-maintainer: git-pull-maintainer + define check_scm_sync echo + checking git ;\ $(SCM_PULL) || {\ @@ -339,7 +344,7 @@ pkg-rebuild-reinstall: pkg-clean pkg-build pkg-reinstall # doesn't work # pkg-release-update: pkg-release pkg-update -pkg-release-reinstall: update +pkg-release-reinstall: pull-maintainer $(PKG_SH) release $(PKG_SH_BUILD_OPTS) ifneq ($(TARGET_HOST),) pkg-remote-install: