Browse Source

Add "install" and "uninstall" targets in Makefile

tags/v2.2.1
Andrew Belt 1 year ago
parent
commit
0bdf380a2c
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      Makefile

+ 12
- 0
Makefile View File

@@ -244,6 +244,18 @@ endif
cd dist && zip -q -9 -r "$(DIST_SDK)" "$(DIST_SDK_DIR)"


install: dist
ifdef ARCH_MAC
sudo installer -pkg dist/"$(DIST_NAME)".pkg -target /
endif


uninstall:
ifdef ARCH_MAC
sudo rm -rf /Applications/"$(DIST_BUNDLE)"
endif


# Target not supported for public use
notarize:
ifdef ARCH_MAC


Loading…
Cancel
Save