diff options
author | EuAndreh <eu@euandre.org> | 2023-03-28 12:21:20 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-03-28 19:51:09 -0300 |
commit | 8ff13c6ba6cc3eb35ca92682634425e2229486a6 (patch) | |
tree | 5ab70b5c0a4d1e45ec195f37d9ff70c207410862 /Makefile | |
parent | src/bin/paku.in, Makefile: Use "debian.out.txt" to communicate output files (diff) | |
download | package-repository-8ff13c6ba6cc3eb35ca92682634425e2229486a6.tar.gz package-repository-8ff13c6ba6cc3eb35ca92682634425e2229486a6.tar.xz |
src/bin/paku.in: Add WIP version of Alpine support, based off of Debian
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 27 |
1 files changed, 24 insertions, 3 deletions
@@ -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 |