From 8ff13c6ba6cc3eb35ca92682634425e2229486a6 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 28 Mar 2023 12:21:20 -0300 Subject: src/bin/paku.in: Add WIP version of Alpine support, based off of Debian --- Makefile | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ef7ae7b..24ba899 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ derived-assets = \ public \ -all: guix nix debian homebrew $(derived-assets) +all: guix nix debian alpine homebrew $(derived-assets) paku.lock: src/bin/paku Makefile touch $@ @@ -85,6 +85,16 @@ debian.sentinel: debian.mk debian: debian.sentinel +alpine: alpine.sentinel + +alpine.sentinel: alpine.mk + @$(MAKE) -f alpine.mk + touch $@ + +alpine.mk: paku.lock + paku alpine > $@ + + homebrew: Formula Formula: paku.lock @@ -98,11 +108,16 @@ public/debian: debian.sentinel cp -R `cat debian.out.txt` $@ touch $@ +public/alpine: alpine.sentinel + mkdir -p $@ + cp -R `cat alpine.out.txt` $@ + touch $@ + public/paku.html: paku.lock mkdir -p $(@D) paku html > $@ -public: public/debian public/paku.html +public: public/debian public/alpine public/paku.html upload: public rsync -avzP --delete public/ euandre.org:/srv/www/s/package-repository/ @@ -150,4 +165,10 @@ check-debian-x86_64-deb: check-debian: check-debian-x86_64-deb -check: check-shellcheck check-guix check-ubuntu check-debian +# FIXME: add -x +check-alpine-x86_64-apk: + sh tests/vm-check.sh -H alpine-x86_64-headless -r $(HTTP-REMOTE) -t apk -- -k "`paku -C maintainer.email`" + +check-alpine: check-alpine-x86_64-apk + +check: check-shellcheck check-guix check-ubuntu check-debian check-alpine -- cgit v1.2.3