-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
37 lines (25 loc) · 903 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# SPDX-FileCopyrightText: Copyright 2023 Cathy J. Fitzpatrick <[email protected]>
# SPDX-License-Identifier: GPL-3.0-or-later
NOTARY_KEYCHAIN_PROFILE := cathyjf
default :
cmake -S . -B build -G Ninja
cmake --build build
all universal universal/keychain-interpose.app :
src/meta/make-universal.sh
notarize : universal/keychain-interpose.app
NOTARY_KEYCHAIN_PROFILE="$(NOTARY_KEYCHAIN_PROFILE)" src/meta/notarize-app.sh "$<"
release : universal/keychain-interpose.app
@make notarize
@cmake --build "$(<D)" --target dependency-sources
/usr/bin/ditto -ck --keepParent "$<" "$<.zip"
upload : release
src/meta/upload-to-github.sh
clean clean-all :
rm -Rf arm64 build universal x86
#################
test :
testing/run-test.sh
shellcheck :
find src testing -name '*.sh' -exec shellcheck {} +
.DELETE_ON_ERROR :
.PHONY : all clean clean-all default notarize release shellcheck test upload