Show More
@@ -30,6 +30,14 b' cscope.*' | |||
|
30 | 30 | i18n/hg.pot |
|
31 | 31 | locale/*/LC_MESSAGES/hg.mo |
|
32 | 32 | |
|
33 | # files installed with a local --pure build | |
|
34 | mercurial/base85.py | |
|
35 | mercurial/bdiff.py | |
|
36 | mercurial/diffhelpers.py | |
|
37 | mercurial/mpatch.py | |
|
38 | mercurial/osutil.py | |
|
39 | mercurial/parsers.py | |
|
40 | ||
|
33 | 41 | syntax: regexp |
|
34 | 42 | ^\.pc/ |
|
35 | 43 | ^\.(pydev)?project |
@@ -1,6 +1,7 b'' | |||
|
1 | 1 | PREFIX=/usr/local |
|
2 | 2 | export PREFIX |
|
3 | 3 | PYTHON=python |
|
4 | PURE= | |
|
4 | 5 | |
|
5 | 6 | help: |
|
6 | 7 | @echo 'Commonly used make targets:' |
@@ -24,13 +25,11 b' help:' | |||
|
24 | 25 | all: build doc |
|
25 | 26 | |
|
26 | 27 | local: |
|
27 | $(PYTHON) setup.py build_ext -i | |
|
28 | $(PYTHON) setup.py build_py -c -d . | |
|
29 | $(PYTHON) setup.py build_mo | |
|
28 | $(PYTHON) setup.py $(PURE) build_py -c -d . build_ext -i build_mo | |
|
30 | 29 | $(PYTHON) hg version |
|
31 | 30 | |
|
32 | 31 | build: |
|
33 | $(PYTHON) setup.py build | |
|
32 | $(PYTHON) setup.py $(PURE) build | |
|
34 | 33 | |
|
35 | 34 | doc: |
|
36 | 35 | $(MAKE) -C doc |
@@ -44,7 +43,7 b' clean:' | |||
|
44 | 43 | install: install-bin install-doc |
|
45 | 44 | |
|
46 | 45 | install-bin: build |
|
47 | $(PYTHON) setup.py install --prefix="$(PREFIX)" --force | |
|
46 | $(PYTHON) setup.py $(PURE) install --prefix="$(PREFIX)" --force | |
|
48 | 47 | |
|
49 | 48 | install-doc: doc |
|
50 | 49 | cd doc && $(MAKE) $(MFLAGS) install |
@@ -52,7 +51,7 b' install-doc: doc' | |||
|
52 | 51 | install-home: install-home-bin install-home-doc |
|
53 | 52 | |
|
54 | 53 | install-home-bin: build |
|
55 | $(PYTHON) setup.py install --home="$(HOME)" --force | |
|
54 | $(PYTHON) setup.py $(PURE) install --home="$(HOME)" --force | |
|
56 | 55 | |
|
57 | 56 | install-home-doc: doc |
|
58 | 57 | cd doc && $(MAKE) $(MFLAGS) PREFIX="$(HOME)" install |
General Comments 0
You need to be logged in to leave comments.
Login now