From 8b30568f561f52f58605d2ec2d46c74735404c3c Mon Sep 17 00:00:00 2001 From: Ramakrishnan Muthukrishnan Date: Thu, 2 Oct 2014 09:16:00 +0530 Subject: [PATCH] new make target for OS X package creation. --- Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Makefile b/Makefile index 94a87556..63c964f4 100644 --- a/Makefile +++ b/Makefile @@ -31,6 +31,24 @@ build: $(PYTHON) setup.py build touch .built +# build osx packages +buildosxpkg: + $(PYTHON) setup.py build_for_package + touch .built + +# create component pkg + pkgbuild --root $(shell pwd) \ + --identifier com.leastauthority.tahoe \ + --version $(shell $(PYTHON) ./setup.py --version) \ + --ownership recommended \ + --install-location /Applications/tahoe.app \ + --scripts $(shell pwd)/misc/build_helpers/osx/scripts \ + tahoe-lafs.pkg + +# create product archive + productbuild --distribution $(shell pwd)/misc/build_helpers/osx/Distribution.xml \ + --package-path . \ + tahoe-darwin.pkg # TESTING -- 2.45.2