Mercurial > hg
comparison Makefile @ 32472:a38ed42cd23c
osx: include chg by default
author | Augie Fackler <augie@google.com> |
---|---|
date | Mon, 20 Mar 2017 17:50:31 -0400 |
parents | 014fa1ad5076 |
children | 7a7c3369ee26 |
comparison
equal
deleted
inserted
replaced
32471:014fa1ad5076 | 32472:a38ed42cd23c |
---|---|
174 # place that's searched by default for bash, so we'll follow | 174 # place that's searched by default for bash, so we'll follow |
175 # the lead of Apple's git install and just put it in a | 175 # the lead of Apple's git install and just put it in a |
176 # location of our own. | 176 # location of our own. |
177 install -d build/mercurial/usr/local/hg/contrib/ | 177 install -d build/mercurial/usr/local/hg/contrib/ |
178 install -m 0644 contrib/bash_completion build/mercurial/usr/local/hg/contrib/hg-completion.bash | 178 install -m 0644 contrib/bash_completion build/mercurial/usr/local/hg/contrib/hg-completion.bash |
179 make -C contrib/chg \ | |
180 HGPATH=/usr/local/bin/hg \ | |
181 PYTHON=/usr/bin/python2.7 \ | |
182 HG=/usr/local/bin/hg \ | |
183 HGEXTDIR=/Library/Python/2.7/site-packages/hgext \ | |
184 DESTDIR=../../build/mercurial \ | |
185 PREFIX=/usr/local \ | |
186 clean install | |
179 mkdir -p $${OUTPUTDIR:-dist} | 187 mkdir -p $${OUTPUTDIR:-dist} |
180 HGVER=$$((cat build/mercurial/Library/Python/2.7/site-packages/mercurial/__version__.py; echo 'print(version)') | python) && \ | 188 HGVER=$$((cat build/mercurial/Library/Python/2.7/site-packages/mercurial/__version__.py; echo 'print(version)') | python) && \ |
181 OSXVER=$$(sw_vers -productVersion | cut -d. -f1,2) && \ | 189 OSXVER=$$(sw_vers -productVersion | cut -d. -f1,2) && \ |
182 pkgbuild --filter \\.DS_Store --root build/mercurial/ \ | 190 pkgbuild --filter \\.DS_Store --root build/mercurial/ \ |
183 --identifier org.mercurial-scm.mercurial \ | 191 --identifier org.mercurial-scm.mercurial \ |