From c0c853a6a41a4f85ad968ba2f2544d4d90f7acea Mon Sep 17 00:00:00 2001 From: Squibid Date: Tue, 29 Apr 2025 17:05:37 -0500 Subject: [PATCH] update makefile --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3199734..d07c048 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ BUILDDIR := ./void-packages TEMPLATES := $(shell find srcpkgs/* -maxdepth 0 -type d) PACKAGES := $(addprefix $(BUILDDIR)/,$(notdir $(TEMPLATES))) -all: sync $(PACKAGES) +all: sync $(PACKAGES) end $(info TEMPLATES: $(TEMPLATES)) $(info PACKAGES: $(PACKAGES)) @@ -17,6 +17,11 @@ $(BUILDDIR)/%: srcpkgs/% @-cp -u $(BUILDDIR)/hostdir/binpkgs/*.xbps ./dest/ @-cp $(BUILDDIR)/hostdir/binpkgs/x86_64-repodata ./dest/ +end: + @printf "\n\n\033[1;31mRun the following commands:\033[m\n" + @printf 'xbps-rindex -s ./dest --privkey \033[31m/path/to/key\033[m --signedby \033[31m"Name "\033[m\n' + @printf 'xbps-rindex -S ./dest/* --privkey \033[31m/path/to/key\033[m\n' + sync: sync-build sync-fetch: test -d $(BUILDDIR) || git clone --depth=1 https://github.com/void-linux/void-packages.git $^