aerc-contacts-macos/Makefile

31 lines
881 B
Makefile
Raw Permalink Normal View History

2020-07-05 15:31:23 +02:00
prefix ?= /usr/local
bindir = $(prefix)/bin
libdir = $(prefix)/lib
build:
swift build -c release --disable-sandbox
install: build
2020-07-05 15:42:52 +02:00
install ".build/release/aerc-contacts" "$(bindir)"
2020-07-05 15:31:23 +02:00
uninstall:
2020-07-05 15:42:52 +02:00
rm -rf "$(bindir)/aerc-contacts"
2020-07-05 15:31:23 +02:00
clean:
rm -rf .build
2020-07-06 09:19:28 +02:00
bottle:
echo "This hasn't yet been tested."
mkdir -p .build/bottles
cd .build/bottles
brew test-bot --skip-setup --root-url https://dl.bintray.com/crocmagnon/bottles-formulae --bintray-org=crocmagnon --tap=crocmagnon/homebrew-formulae aerc-contacts
publish: bottle
echo "This hasn't yet been tested."
brew pr-upload --bintray-org=crocmagnon --root-url=https://dl.bintray.com/crocmagnon/bottles-formulae
git -C /usr/local/Homebrew/Library/Taps/crocmagnon/homebrew-formulae/ format-patch -1 HEAD -o $(PWD)
echo "Don't forget to apply the patch to your homebrew repo and push ;)"
2020-07-05 15:31:23 +02:00
.PHONY: build install uninstall clean