Makefile: change "make local" to build a fully working local version.
authorMarkus F.X.J. Oberhumer <markus@oberhumer.com>
Mon, 25 Jun 2007 14:46:20 +0200
changeset 4706 f0aa759b8f93
parent 4705 7ffb8bedb5de
child 4707 3fd4dde37628
Makefile: change "make local" to build a fully working local version.
Makefile
--- a/Makefile	Mon Jun 25 11:35:40 2007 -0500
+++ b/Makefile	Mon Jun 25 14:46:20 2007 +0200
@@ -7,7 +7,7 @@
 	@echo '  all          - build program and documentation'
 	@echo '  install      - install program and man pages to PREFIX ($(PREFIX))'
 	@echo '  install-home - install with setup.py install --home=HOME ($(HOME))'
-	@echo '  local        - build C extensions for inplace usage'
+	@echo '  local        - build for inplace usage'
 	@echo '  tests        - run all tests in the automatic test suite'
 	@echo '  test-foo     - run only specified tests (e.g. test-merge1)'
 	@echo '  dist         - run all tests and create a source tarball in dist/'
@@ -24,6 +24,8 @@
 
 local:
 	$(PYTHON) setup.py build_ext -i
+	$(PYTHON) setup.py build_py -c -d .
+	$(PYTHON) hg version
 
 build:
 	$(PYTHON) setup.py build