##// END OF EJS Templates
Split installation targets into install-bin and install-doc....
Sascha Wilde -
r2527:c51fad25 default
parent child Browse files
Show More
@@ -37,12 +37,20 b' clean:'
37 rm -f MANIFEST mercurial/__version__.py mercurial/*.so tests/*.err
37 rm -f MANIFEST mercurial/__version__.py mercurial/*.so tests/*.err
38 $(MAKE) -C doc clean
38 $(MAKE) -C doc clean
39
39
40 install: all
40 install: install-bin install-doc
41
42 install-bin: build
41 $(PYTHON) setup.py install --prefix="$(PREFIX)" --force
43 $(PYTHON) setup.py install --prefix="$(PREFIX)" --force
44
45 install-doc: doc
42 cd doc && $(MAKE) $(MFLAGS) install
46 cd doc && $(MAKE) $(MFLAGS) install
43
47
44 install-home: all
48 install-home: install-home-bin install-home-doc
49
50 install-home-bin: build
45 $(PYTHON) setup.py install --home="$(HOME)" --force
51 $(PYTHON) setup.py install --home="$(HOME)" --force
52
53 install-home-doc: doc
46 cd doc && $(MAKE) $(MFLAGS) PREFIX="$(HOME)" install
54 cd doc && $(MAKE) $(MFLAGS) PREFIX="$(HOME)" install
47
55
48 dist: tests dist-notests
56 dist: tests dist-notests
@@ -57,5 +65,5 b' test-%:'
57 cd tests && $(PYTHON) run-tests.py $@
65 cd tests && $(PYTHON) run-tests.py $@
58
66
59
67
60 .PHONY: help all local build doc clean install install-home dist dist-notests tests
68 .PHONY: help all local build doc clean install install-bin install-doc \
61
69 install-home install-home-bin install-home-doc dist dist-notests tests
General Comments 0
You need to be logged in to leave comments. Login now