From: Ramakrishnan Muthukrishnan Date: Tue, 13 Jan 2015 09:31:46 +0000 (+0530) Subject: Makefile: make "build-osx-pkg" build target depend on the "build" target X-Git-Tag: allmydata-tahoe-1.10.1a1~85^2 X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/flags/...?a=commitdiff_plain;h=c2e415b312d9564fbdee03cc2a26d948ada0ba06;p=tahoe-lafs%2Ftahoe-lafs.git Makefile: make "build-osx-pkg" build target depend on the "build" target --- 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) \