projects-dir.mk, topdir.mk: Alias get-% for git-get-%

Add a VCS-independent rule rule get-%, currently an alias for
git-get-%, with an empty recipe to keep GNU Make satisfied.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-02-26 14:00:22 +01:00
commit 9449840401
2 changed files with 6 additions and 0 deletions

View file

@ -311,6 +311,9 @@ diff-all diff: $(SSH_WRAPPER_SH)
get-maintainer: git-get-maintainer get-maintainer: git-get-maintainer
get-%: git-get-%
@:
# --- git targets # --- git targets
git-push push: $(SSH_WRAPPER_SH) git-push push: $(SSH_WRAPPER_SH)

View file

@ -208,6 +208,9 @@ git-get-maintainer:
git-get-%: git-get-%:
PGIT_SH_PROJECTS=. $(PGIT_SH) get --refspec $*:$(GIT_MAIN_BRANCH):current-branch PGIT_SH_PROJECTS=. $(PGIT_SH) get --refspec $*:$(GIT_MAIN_BRANCH):current-branch
get-%: git-get-%
@:
pkg-manager-refresh: pkg-manager-refresh:
$(PKG_MANAGER) refresh $(PKG_MANAGER) refresh