# HG changeset patch # User Dévai Tamás # Date 1271455183 -7200 # Node ID ce6d56b95f2e9538aea1d05bb71f0cf10edf6ef1 # Parent ca739acf1a98f8c9ce889f798d0cd26344c6c3dd Respect the DESTDIR variable during 'make install' The DESTDIR variable used to tell 'make install' an alternate system root to install the software to. Since setup.py supports the same via its --root parameter, it's easy to make life easier for many packagers. diff -r ca739acf1a98 -r ce6d56b95f2e Makefile --- a/Makefile Mon Apr 12 19:33:25 2010 -0400 +++ b/Makefile Fri Apr 16 23:59:43 2010 +0200 @@ -51,7 +51,7 @@ install: install-bin install-doc install-bin: build - $(PYTHON) setup.py $(PURE) install --prefix="$(PREFIX)" --force + $(PYTHON) setup.py $(PURE) install --root="$(DESTDIR)/" --prefix="$(PREFIX)" --force install-doc: doc cd doc && $(MAKE) $(MFLAGS) install