diff 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
line wrap: on
line diff
--- a/Makefile	Fri May 26 20:03:05 2017 -0400
+++ b/Makefile	Mon Mar 20 17:50:31 2017 -0400
@@ -176,6 +176,14 @@
         # location of our own.
 	install -d build/mercurial/usr/local/hg/contrib/
 	install -m 0644 contrib/bash_completion build/mercurial/usr/local/hg/contrib/hg-completion.bash
+	make -C contrib/chg \
+	  HGPATH=/usr/local/bin/hg \
+	  PYTHON=/usr/bin/python2.7 \
+	  HG=/usr/local/bin/hg \
+	  HGEXTDIR=/Library/Python/2.7/site-packages/hgext \
+	  DESTDIR=../../build/mercurial \
+	  PREFIX=/usr/local \
+	  clean install
 	mkdir -p $${OUTPUTDIR:-dist}
 	HGVER=$$((cat build/mercurial/Library/Python/2.7/site-packages/mercurial/__version__.py; echo 'print(version)') | python) && \
 	OSXVER=$$(sw_vers -productVersion | cut -d. -f1,2) && \