makefile: add an 'install-home' target
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Fri, 03 Mar 2017 10:58:59 +0100
changeset 2040 934d70e3be97
parent 2039 103da16f3be2
child 2041 3b6550261614
makefile: add an 'install-home' target It is similar to the Mercurial one.
Makefile
--- a/Makefile	Fri Mar 03 10:58:30 2017 +0100
+++ b/Makefile	Fri Mar 03 10:58:59 2017 +0100
@@ -17,8 +17,10 @@
 	cp -r debian/ ../mercurial-evolve_$(VERSION).orig/
 	@cd ../mercurial-evolve_$(VERSION).orig && echo 'debian build directory ready at' `pwd`
 
+install-home:
+	$(PYTHON) setup.py install --home="$(HOME)" --prefix="" --force
+
 # test targets
-
 TESTFLAGS ?= $(shell echo $$HGTESTFLAGS)
 
 HGTESTS=$(HGROOT)/tests