##// END OF EJS Templates
use PURE option in Makefile
Martin Geisler -
r7706:0ae7f0b3 default
parent child Browse files
Show More
@@ -30,6 +30,14 b' cscope.*'
30 i18n/hg.pot
30 i18n/hg.pot
31 locale/*/LC_MESSAGES/hg.mo
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 syntax: regexp
41 syntax: regexp
34 ^\.pc/
42 ^\.pc/
35 ^\.(pydev)?project
43 ^\.(pydev)?project
@@ -1,6 +1,7 b''
1 PREFIX=/usr/local
1 PREFIX=/usr/local
2 export PREFIX
2 export PREFIX
3 PYTHON=python
3 PYTHON=python
4 PURE=
4
5
5 help:
6 help:
6 @echo 'Commonly used make targets:'
7 @echo 'Commonly used make targets:'
@@ -24,13 +25,11 b' help:'
24 all: build doc
25 all: build doc
25
26
26 local:
27 local:
27 $(PYTHON) setup.py build_ext -i
28 $(PYTHON) setup.py $(PURE) build_py -c -d . build_ext -i build_mo
28 $(PYTHON) setup.py build_py -c -d .
29 $(PYTHON) setup.py build_mo
30 $(PYTHON) hg version
29 $(PYTHON) hg version
31
30
32 build:
31 build:
33 $(PYTHON) setup.py build
32 $(PYTHON) setup.py $(PURE) build
34
33
35 doc:
34 doc:
36 $(MAKE) -C doc
35 $(MAKE) -C doc
@@ -44,7 +43,7 b' clean:'
44 install: install-bin install-doc
43 install: install-bin install-doc
45
44
46 install-bin: build
45 install-bin: build
47 $(PYTHON) setup.py install --prefix="$(PREFIX)" --force
46 $(PYTHON) setup.py $(PURE) install --prefix="$(PREFIX)" --force
48
47
49 install-doc: doc
48 install-doc: doc
50 cd doc && $(MAKE) $(MFLAGS) install
49 cd doc && $(MAKE) $(MFLAGS) install
@@ -52,7 +51,7 b' install-doc: doc'
52 install-home: install-home-bin install-home-doc
51 install-home: install-home-bin install-home-doc
53
52
54 install-home-bin: build
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 install-home-doc: doc
56 install-home-doc: doc
58 cd doc && $(MAKE) $(MFLAGS) PREFIX="$(HOME)" install
57 cd doc && $(MAKE) $(MFLAGS) PREFIX="$(HOME)" install
General Comments 0
You need to be logged in to leave comments. Login now