.PHONY: help help: ## Show this help @egrep -h '\s##\s' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' USERID := $(shell id -u) .PHONY: simple-clean simple-clean: ## Stop and remove the simple example launchctl bootout gui/${USERID}/com.example.Simple || true rm -rf ~/Applications/ExampleBundleSimple.app rm -f ~/Library/LaunchAgents/com.example.Simple.plist rm -f ~/Library/Logs/com.example.Simple.* .PHONY: simple-install simple-install: simple-clean ## Install and start the simple example ./generate.sh ~/Applications/ExampleBundleSimple.app ~/Documents cp ~/Applications/ExampleBundleSimple.app/Contents/Resources/com.example.Simple.plist ~/Library/LaunchAgents/ chmod 600 ~/Library/LaunchAgents/com.example.Simple.plist launchctl bootstrap gui/${USERID} ~/Library/LaunchAgents/com.example.Simple.plist