Declare dependencies so we don't unnecessarily rebuild when running "make install"
--- Makefile.orig	2018-10-29 12:31:47.000000000 -0400
+++ Makefile	2018-11-04 14:07:03.000000000 -0500
@@ -21,7 +21,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)"
@@ -36,9 +36,10 @@
 	xcodebuild -parallelizeTargets -target iTerm2 -configuration Beta && \
 	chmod -R go+rX build/Beta

-Deployment:
-	xcodebuild -parallelizeTargets -target iTerm2 -configuration Deployment && \
-	chmod -R go+rX build/Deployment
+Deployment: build/Deployment/iTerm2.app/Contents/MacOS/iTerm2
+build/Deployment/iTerm2.app/Contents/MacOS/iTerm2:
+	xcodebuild -parallelizeTargets -target iTerm2 -configuration Deployment -scheme iTerm2 -derivedDataPath ./DerivedData && \
+	chmod -R go+rX DerivedData/Build/Products/Deployment

 Nightly: force
 	cp plists/nightly-iTerm2.plist plists/iTerm2.plist
