[PATCH] setup: specify --prefix="" for install-home-bin to avoid badness with defaults
Augie Fackler
raf at durin42.com
Thu Feb 27 19:09:37 CST 2014
# HG changeset patch
# User Augie Fackler <raf at durin42.com>
# Date 1391411386 18000
# Mon Feb 03 02:09:46 2014 -0500
# Node ID 28788ee749ecfeb449b87de3c8f9d9ee0fcb4e91
# Parent 710c2755e66a1322d78911a18362636b3b0ead2c
setup: specify --prefix="" for install-home-bin to avoid badness with defaults
Sometimes (I'm not sure when) setup.py gets a default value for
--prefix, which breaks --home. This fixes that for me.
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -71,7 +71,7 @@
install-home: install-home-bin install-home-doc
install-home-bin: build
- $(PYTHON) setup.py $(PURE) install --home="$(HOME)" --force
+ $(PYTHON) setup.py $(PURE) install --home="$(HOME)" --prefix="" --force
install-home-doc: doc
cd doc && $(MAKE) $(MFLAGS) PREFIX="$(HOME)" install
More information about the Mercurial-devel
mailing list