Makefile
changeset 31609 8e516f71577a
parent 31142 408dcf7475a7
child 31611 6359976b43be
equal deleted inserted replaced
31608:4baf79a77afa 31609:8e516f71577a
   163 	  --root=build/mercurial/ --prefix=/usr/local/ \
   163 	  --root=build/mercurial/ --prefix=/usr/local/ \
   164 	  --install-lib=/Library/Python/2.7/site-packages/
   164 	  --install-lib=/Library/Python/2.7/site-packages/
   165 	make -C doc all install DESTDIR="$(PWD)/build/mercurial/"
   165 	make -C doc all install DESTDIR="$(PWD)/build/mercurial/"
   166         # install zsh completions - this location appears to be
   166         # install zsh completions - this location appears to be
   167         # searched by default as of macOS Sierra.
   167         # searched by default as of macOS Sierra.
   168 	mkdir -p build/mercurial/usr/local/share/zsh/site-functions
   168 	install -d build/mercurial/usr/local/share/zsh/site-functions/
   169 	cp contrib/zsh_completion build/mercurial/usr/local/share/zsh/site-functions/hg
   169 	install -m 0644 contrib/zsh_completion build/mercurial/usr/local/share/zsh/site-functions/hg
   170         # install bash completions - there doesn't appear to be a
   170         # install bash completions - there doesn't appear to be a
   171         # place that's searched by default for bash, so we'll follow
   171         # place that's searched by default for bash, so we'll follow
   172         # the lead of Apple's git install and just put it in a
   172         # the lead of Apple's git install and just put it in a
   173         # location of our own.
   173         # location of our own.
   174 	mkdir -p build/mercurial/usr/local/hg/contrib
   174 	install -d build/mercurial/usr/local/hg/contrib/
   175 	cp contrib/bash_completion build/mercurial/usr/local/hg/contrib/hg-completion.bash
   175 	install -m 0644 contrib/bash_completion build/mercurial/usr/local/hg/contrib/hg-completion.bash
   176 	mkdir -p $${OUTPUTDIR:-dist}
   176 	mkdir -p $${OUTPUTDIR:-dist}
   177 	HGVER=$$((cat build/mercurial/Library/Python/2.7/site-packages/mercurial/__version__.py; echo 'print(version)') | python) && \
   177 	HGVER=$$((cat build/mercurial/Library/Python/2.7/site-packages/mercurial/__version__.py; echo 'print(version)') | python) && \
   178 	OSXVER=$$(sw_vers -productVersion | cut -d. -f1,2) && \
   178 	OSXVER=$$(sw_vers -productVersion | cut -d. -f1,2) && \
   179 	pkgbuild --root build/mercurial/ \
   179 	pkgbuild --root build/mercurial/ \
   180 	  --identifier org.mercurial-scm.mercurial \
   180 	  --identifier org.mercurial-scm.mercurial \