changeset 2040:934d70e3be97

makefile: add an 'install-home' target It is similar to the Mercurial one.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Fri, 03 Mar 2017 10:58:59 +0100
parents 103da16f3be2
children 3b6550261614
files Makefile
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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