Mercurial > hg
comparison contrib/macosx/distribution.xml @ 29027:db5084d27df5 stable
osx: create a modern package including manpages
Instead of using bdist_mpkg, we use the modern Apple-provided tools to
build an OS X Installer package directly. This has several advantages:
* Avoids bdist_mpkg which seems to be barely maintained and is hard to
use.
* Creates a single unified .pkg instead of a .mpkg.
* The package we produce is in the modern, single-file format instead of
a directory bundle that we have to zip up for download.
In addition, this way of building the package now correctly:
* Installs the manpages, bringing the `make osx`-generated package in
line with the official Mac packages we publish on the website.
* Installs files with the correct permissions instead of encoding the
UID of the user who happened to build the package.
Thanks to Augie for updating the test expectations.
author | Kevin Bullock <kbullock+mercurial@ringworld.org> |
---|---|
date | Wed, 27 Apr 2016 10:20:36 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
29026:80f15aa32edd | 29027:db5084d27df5 |
---|---|
1 <?xml version="1.0" encoding="utf-8" standalone="no"?> | |
2 <installer-gui-script minSpecVersion="1"> | |
3 <title>Mercurial SCM</title> | |
4 <organization>org.mercurial-scm</organization> | |
5 <options customize="never" require-scripts="false" rootVolumeOnly="true" /> | |
6 <welcome file="Welcome.html" mime-type="text/html" /> | |
7 <license file="../../COPYING" mime-type="text/plain" /> | |
8 <readme file="Readme.html" mime-type="text/html" /> | |
9 <pkg-ref id="org.mercurial-scm.mercurial" | |
10 version="0" | |
11 auth="root" | |
12 onConclusion="none">mercurial.pkg</pkg-ref> | |
13 <choices-outline> | |
14 <line choice="org.mercurial-scm.mercurial"/> | |
15 </choices-outline> | |
16 <choice id="org.mercurial-scm.mercurial" visible="false"> | |
17 <pkg-ref id="org.mercurial-scm.mercurial"/> | |
18 </choice> | |
19 </installer-gui-script> |