Mercurial > hg
comparison Makefile @ 1020:f1b052db3515
Add default make rule
The default make rule builds the extensions "in-place" so that hg can
be run out of the working directory.
author | mpm@selenic.com |
---|---|
date | Wed, 24 Aug 2005 00:36:12 -0700 |
parents | 85272e96b96a |
children | 76239f0cb0dc |
comparison
equal
deleted
inserted
replaced
1019:a9cca981c423 | 1020:f1b052db3515 |
---|---|
1 # This Makefile is only used by developers. | 1 # This Makefile is only used by developers. |
2 PYTHON=python | 2 PYTHON=python |
3 | 3 |
4 all: | 4 all: |
5 $(PYTHON) setup.py build_ext -i | |
6 | |
7 install: | |
5 @echo "Read the file README for install instructions." | 8 @echo "Read the file README for install instructions." |
6 | 9 |
7 clean: | 10 clean: |
8 -$(PYTHON) setup.py clean --all # ignore errors of this command | 11 -$(PYTHON) setup.py clean --all # ignore errors of this command |
9 find . -name '*.py[co]' -exec rm -f '{}' ';' | 12 find . -name '*.py[co]' -exec rm -f '{}' ';' |