Merge pull request #135 from vu3rdd/182-osx-packaging-7

Makefile: make "build-osx-pkg" build target depend on the "build" target
This commit is contained in:
Daira Hopwood 2015-01-15 02:44:34 +00:00
commit f77f358dc1

View File

@ -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) \