update makefile
This commit is contained in:
7
Makefile
7
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 <Email>"\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 $^
|
||||
|
Reference in New Issue
Block a user