Makefile: make "build-osx-pkg" build target depend on the "build" target

This commit is contained in:
Ramakrishnan Muthukrishnan 2015-01-13 15:01:46 +05:30
parent 0d935e8589
commit c2e415b312

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