This repository has been archived on 2025-12-24. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
yachat/doc/build-mac.txt
2025-12-25 01:38:25 +05:00

22 lines
956 B
Text

Building Psi on Mac OS X
------------------------
To simply compile Psi, the same instructions apply as for other *nix
platforms:
1. First, configure the build using the 'configure' script, optionally
adding parameters to specify where to find certain dependencies:
./configure
2. Build the binary:
make
After this, the built binary 'psi.app' will be available in src/.
For more details, check 'doc/build-unix.txt'.
To make a distributable copy of your binary, do the following:
1. As above, use configure to configure the build
2. Alter the first lines of 'mac/Makefile' to reflect your setting
3. Run 'make -C mac/'.
This will create a distributable binary 'Psi.app' in 'mac/disk/'.
4. (OPTIONAL) Create a DMG image by running 'make -C mac/ dmg'.
This will create a 'Psi-<VERSION>.dmg' file in 'mac/'.
You can create your own DMG template to make the resulting DMG
look different. For more instructions on this, see 'mac/Makefile'.