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 <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-02-17 19:32:19 +01:00
commit c569b188a4

View file

@ -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: