mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-24 09:13:37 +02:00
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:
parent
5e040f652e
commit
c569b188a4
1 changed files with 6 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue