git: a5ff900535e2 - main - pkgbase: Create two new rules for creating repo

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Mon, 29 Jan 2024 18:25:11 UTC
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=a5ff900535e24e3a3cd02287d733e1d1e5e9583a

commit a5ff900535e24e3a3cd02287d733e1d1e5e9583a
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2024-01-26 18:52:03 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2024-01-29 18:24:03 +0000

    pkgbase: Create two new rules for creating repo
    
    This adds two new rules named create-packages-kernel-repo and
    create-packages-world-repo.
    The goal of those rules is to create the {kernel,world} packages and
    after that the repository.
    It helps a lot for developing with pkgbase by adding the dev machine
    repository created by those rules on top of the official pkgbase one.
    
    Differential Revision:  https://reviews.freebsd.org/D43623
    Reviewed by:    bapt, emaste
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
---
 Makefile      | 4 +++-
 Makefile.inc1 | 4 ++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 2c4f7aaebca0..04d8a014b0c6 100644
--- a/Makefile
+++ b/Makefile
@@ -172,7 +172,9 @@ TGTS=	all all-man buildenv buildenvvars buildetc buildkernel buildworld \
 	builddtb xdev xdev-build xdev-install \
 	xdev-links native-xtools native-xtools-install stageworld stagekernel \
 	stage-packages stage-packages-kernel stage-packages-world stage-packages-source \
-	create-packages-world create-packages-kernel create-packages-source create-packages \
+	create-packages-world create-packages-kernel \
+	create-packages-kernel-repo create-packages-world-repo \
+	create-packages-source create-packages \
 	update-packages packages installconfig real-packages real-update-packages \
 	sign-packages package-pkg print-dir test-system-compiler test-system-linker \
 	test-includes
diff --git a/Makefile.inc1 b/Makefile.inc1
index 8a0073547ed0..1e86cda657dd 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -2078,6 +2078,10 @@ create-packages-kernel:	_pkgbootstrap _repodir .PHONY
 			SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH} \
 			create-kernel-packages
 
+create-packages-kernel-repo: .PHONY create-packages-kernel sign-packages
+
+create-packages-world-repo: .PHONY create-packages-world sign-packages
+
 create-packages-source:	_pkgbootstrap _repodir .PHONY
 	${_+_}@cd ${.CURDIR}; \
 		${MAKE} -f Makefile.inc1 \