forked from pqrs-org/Karabiner-DriverKit-VirtualHIDDevice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
29 lines (22 loc) · 706 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
VERSION = `head -n 1 version`
all:
@echo 'Type `make package`'
build:
$(MAKE) -C src
clean:
$(MAKE) -C src clean
$(MAKE) -C client/examples/virtual-hid-device-service-client clean
$(MAKE) -C tests clean
package: clean
bash make-package.sh
notarize:
xcrun altool --notarize-app \
-t osx \
-f dist/Karabiner-DriverKit-VirtualHIDDevice-$(VERSION).pkg \
--primary-bundle-id 'org.pqrs.Karabiner-DriverKit-VirtualHIDDevice' \
-u '[email protected]' \
-p '@keychain:pqrs.org-notarize-app'
staple:
xcrun stapler staple dist/Karabiner-DriverKit-VirtualHIDDevice-$(VERSION).pkg
update_vendor:
for f in $$(find * -name 'cget-requirements.txt'); do make -C $$(dirname $$f) update_vendor; done