summaryrefslogtreecommitdiff
path: root/branding/templates/makefile/Makefile
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2019-09-04 22:12:44 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2019-09-04 22:12:44 +0200
commit999cea13c1fce89350914592263a2c941c340953 (patch)
tree7a58d3e2a571744ca3bfda7dca14a2c889c70349 /branding/templates/makefile/Makefile
parent9b1d67ada0264aada7f322f44e181eb80ac5dce7 (diff)
[pkg] fix osx flat package
Diffstat (limited to 'branding/templates/makefile/Makefile')
-rwxr-xr-xbranding/templates/makefile/Makefile10
1 files changed, 1 insertions, 9 deletions
diff --git a/branding/templates/makefile/Makefile b/branding/templates/makefile/Makefile
index 1ea4e69..164e53c 100755
--- a/branding/templates/makefile/Makefile
+++ b/branding/templates/makefile/Makefile
@@ -64,15 +64,7 @@ ifeq ($(SYSTEM), Darwin)
productsign --sign $(OSX_CERT) dist/$(APPNAME)-$(VERSION)_unsigned.pkg dist/$(APPNAME)-$(VERSION).pkg;\
fi
else
- mkdir dist/tmp
- mv dist/$(APPNAME).app dist/tmp
- mkbom -u 0 -g 80 dist/tmp dist/$(APPNAME)/Bom
- mv dist/tmp/$(APPNAME).app dist
- rmdir dist/tmp
-
- cd dist && find $(APPNAME).app | cpio -o --format odc --owner 0:80 | gzip -c > $(APPNAME)/Payload
- cd osx/scripts && find . | cpio -o --format odc --owner 0:80 | gzip -c > ../../dist/$(APPNAME)/Scripts
- xar --compression none -cf dist/$(APPNAME)-$(VERSION)_unsigned.pkg dist/$(APPNAME)/
+ cd osx && APPNAME=$(APPNAME) VERSION=$(VERSION) ./cross-quickpkg
endif
mv dist/$(APPNAME)-$(VERSION)_unsigned.pkg ../../deploy/