From b3ccc398cfd30ad9e243a041933204ea2e567535 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 22 Mar 2023 12:11:24 -0300 Subject: Support Homebrew --- Makefile | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e0d7de2..2fc55b0 100644 --- a/Makefile +++ b/Makefile @@ -12,10 +12,10 @@ -all: EuAndreh.key guix nix debian +all: EuAndreh.key guix nix debian homebrew -paku.lock: src/bin/paku +paku.lock: src/bin/paku Makefile touch $@ @@ -78,6 +78,13 @@ debian.mk: paku.lock debian: debian.mk $(MAKE) -f debian.mk +homebrew: Formula + +Formula: paku.lock + mkdir -p $@ + perl src/bin/paku homebrew $@ + touch $@ + public/debian: debian mkdir -p $(@D) @@ -94,10 +101,14 @@ upload: public rsync -avzP --delete public/ euandre.org:/srv/www/s/package-repository/ HTTP-REMOTE = 'https://euandre.org/s/package-repository' -check-ubuntu: - sh tests/vm-check.sh -x -t deb -H ubuntu-x86_64-headless -r $(HTTP-REMOTE) +GIT-REMOTE = 'git://euandre.org/package-repository' +check-ubuntu-deb: + sh tests/vm-check.sh -x -H ubuntu-x86_64-headless -r $(HTTP-REMOTE) -t deb + +check-ubuntu-homebrew: + sh tests/vm-check.sh -x -H ubuntu-x86_64-headless -r $(GIT-REMOTE) -t homebrew -check: check-ubuntu +check: all check-ubuntu-deb check-ubuntu-homebrew clean: -- cgit v1.2.3