Declare dependencies so we don't unnecessarily rebuild when running "make install" --- Makefile.orig 2023-12-19 09:22:01 +++ Makefile 2026-04-23 00:00:00 @@ -22,7 +22,7 @@ find . -name "*.[mhMH]" -exec etags -o ./TAGS -a '{}' + install: | Deployment backup-old-iterm - cp -R build/Deployment/iTerm2.app $(APPS) + cp -R DerivedData/Build/Products/Deployment/iTerm2.app $(APPS) Development: echo "Using PATH for build: $(PATH)" @@ -37,10 +37,11 @@ xcodebuild -parallelizeTargets -target iTerm2 -configuration Beta && \ chmod -R go+rX build/Beta -Deployment: +Deployment: build/Deployment/iTerm2.app/Contents/MacOS/iTerm2 +build/Deployment/iTerm2.app/Contents/MacOS/iTerm2: cp plists/release-iTerm2.plist plists/iTerm2.plist - xcodebuild -parallelizeTargets -target iTerm2 -configuration Deployment && \ - chmod -R go+rX build/Deployment + xcodebuild -parallelizeTargets -target iTerm2 -configuration Deployment -scheme iTerm2 -derivedDataPath ./DerivedData && \ + chmod -R go+rX DerivedData/Build/Products/Deployment Nix: xcodebuild -parallelizeTargets -target iTerm2 -scheme iTerm2 -configuration Deployment -derivedDataPath . CODE_SIGN_IDENTITY= DEVELOPMENT_TEAM= && \