Last active
September 3, 2019 15:11
-
-
Save erickgnavar/237cd1e117d546a16206e51e3c86d171 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash - | |
#=============================================================================== | |
# | |
# FILE: build_mac.sh | |
# | |
# USAGE: ./build_mac.sh | |
# | |
# DESCRIPTION: | |
# | |
# OPTIONS: --- | |
# REQUIREMENTS: --- | |
# BUGS: --- | |
# NOTES: --- | |
# AUTHOR: YOUR NAME (), | |
# ORGANIZATION: | |
# CREATED: 06/27/2019 13:09 | |
# REVISION: --- | |
#=============================================================================== | |
set -o nounset # Treat unset variables as an error | |
make clean | |
echo "making sure all the requirements are installed..." | |
brew install autoconf automake libxml2 texinfo gnutls | |
echo "Seting up variables..." | |
export PKG_CONFIG_PATH="`brew --prefix libxml2`/lib/pkgconfig" | |
export PATH="/usr/local/opt/texinfo/bin:$PATH" | |
make configure | |
./configure --with-ns --with-gnutls=ifavailable | |
make install | |
echo "Done!" | |
open -R nextstep/Emacs.app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment