From c2e415b312d9564fbdee03cc2a26d948ada0ba06 Mon Sep 17 00:00:00 2001
From: Ramakrishnan Muthukrishnan <ram@leastauthority.com>
Date: Tue, 13 Jan 2015 15:01:46 +0530
Subject: [PATCH] Makefile: make "build-osx-pkg" build target depend on the
 "build" target

---
 Makefile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index a8afc1bd..8a8b5ee3 100644
--- a/Makefile
+++ b/Makefile
@@ -35,11 +35,9 @@ build:
 # Build OS X pkg packages.
 # The editing of .egg-link and .pth files ensures that we reference the source at the correct path.
 .PHONY: build-osx-pkg
-build-osx-pkg:
-	$(PYTHON) setup.py build
+build-osx-pkg: build
 	find support -name $(APPNAME).egg-link -execdir sh -c "echo >> {}; echo /Applications/tahoe.app/src >> {}" \;
 	find support -name easy-install.pth -execdir sed -i.bak 's|^.*/src$$|../../../../src|' '{}' \;
-	touch .built
 
 # create component pkg
 	pkgbuild --root $(shell pwd) \
-- 
2.45.2