Mercurial > hg > mercurial-crew-with-dirclash
comparison Makefile @ 4706:f0aa759b8f93
Makefile: change "make local" to build a fully working local version.
author | Markus F.X.J. Oberhumer <markus@oberhumer.com> |
---|---|
date | Mon, 25 Jun 2007 14:46:20 +0200 |
parents | edaf68032a27 |
children | 3fd4dde37628 |
comparison
equal
deleted
inserted
replaced
4705:7ffb8bedb5de | 4706:f0aa759b8f93 |
---|---|
5 help: | 5 help: |
6 @echo 'Commonly used make targets:' | 6 @echo 'Commonly used make targets:' |
7 @echo ' all - build program and documentation' | 7 @echo ' all - build program and documentation' |
8 @echo ' install - install program and man pages to PREFIX ($(PREFIX))' | 8 @echo ' install - install program and man pages to PREFIX ($(PREFIX))' |
9 @echo ' install-home - install with setup.py install --home=HOME ($(HOME))' | 9 @echo ' install-home - install with setup.py install --home=HOME ($(HOME))' |
10 @echo ' local - build C extensions for inplace usage' | 10 @echo ' local - build for inplace usage' |
11 @echo ' tests - run all tests in the automatic test suite' | 11 @echo ' tests - run all tests in the automatic test suite' |
12 @echo ' test-foo - run only specified tests (e.g. test-merge1)' | 12 @echo ' test-foo - run only specified tests (e.g. test-merge1)' |
13 @echo ' dist - run all tests and create a source tarball in dist/' | 13 @echo ' dist - run all tests and create a source tarball in dist/' |
14 @echo ' clean - remove files created by other targets' | 14 @echo ' clean - remove files created by other targets' |
15 @echo ' (except installed files or dist source tarball)' | 15 @echo ' (except installed files or dist source tarball)' |
22 | 22 |
23 all: build doc | 23 all: build doc |
24 | 24 |
25 local: | 25 local: |
26 $(PYTHON) setup.py build_ext -i | 26 $(PYTHON) setup.py build_ext -i |
27 $(PYTHON) setup.py build_py -c -d . | |
28 $(PYTHON) hg version | |
27 | 29 |
28 build: | 30 build: |
29 $(PYTHON) setup.py build | 31 $(PYTHON) setup.py build |
30 | 32 |
31 doc: | 33 doc: |