aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-28 12:21:20 -0300
committerEuAndreh <eu@euandre.org>2023-03-28 19:51:09 -0300
commit8ff13c6ba6cc3eb35ca92682634425e2229486a6 (patch)
tree5ab70b5c0a4d1e45ec195f37d9ff70c207410862 /Makefile
parentsrc/bin/paku.in, Makefile: Use "debian.out.txt" to communicate output files (diff)
downloadpackage-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--Makefile27
1 files changed, 24 insertions, 3 deletions
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